diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-06-02 23:04:31 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-06-02 23:04:31 -0400 |
| commit | 6ec2f54150ae17a7a33da46f0e6524f2b11b320d (patch) | |
| tree | 92ee6388e53f156df4a99ffefc8b344bb12eea05 | |
| parent | cc7868d21ea46d832bb422985140cb824b9fe8d6 (diff) | |
_libembroidery fix
| -rw-r--r-- | .travis.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index b5979890..9c3e3787 100644 --- a/.travis.yml +++ b/.travis.yml @@ -122,15 +122,14 @@ install: brew install pygobject3 gtk+3 # for msgfmt - #brew install gettext brew link gettext --force export GI_TYPELIB_PATH=/usr/local/lib/girepository-1.0/ export PATH="/usr/local/opt/python/libexec/bin:$PATH" - pip install virtualenv - virtualenv --system-site-packages venv + pip2 install virtualenv + virtualenv -p python2 --system-site-packages venv # add in brew's site-packages echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> venv/lib/python2.7/site-packages/homebrew.pth @@ -165,6 +164,10 @@ script: cd embroidermodder/experimental qmake swigpython.pro make + if [ "$BUILD" = "osx" ]; then + ln -s _libembroidery.dylib python/binding/_libembroidery.so + install_name_tool -change /System/Library/Frameworks/Python.framework/Versions/2.7/Python /usr/local/opt/python2/Frameworks/Python.framework/Versions/2.7/Python python/binding/_libembroidery.dylib + fi ) make dist elif [ "$BUILD" = "windows" ]; then |
