Browse Source

Adjust build etc. for MacOS

PYADPT-81
heck 2 years ago
parent
commit
ae364de4cf
3 changed files with 5 additions and 9 deletions
  1. +3
    -1
      Makefile
  2. +1
    -1
      Makefile.conf
  3. +1
    -7
      setup.py

+ 3
- 1
Makefile View File

@ -12,7 +12,9 @@ clean:
devenv:
LD_LIBRARY_PATH=$(PREFIX)/lib \
PYTHONPATH=`pwd`/build/lib.linux-x86_64-3.7:\
DYLD_LIBRARY_PATH=$(PREFIX)/lib \
PYTHONPATH=$PYTHONPATH:`pwd`/build/lib.linux-x86_64-3.7:\
PYTHONPATH=$PYTHONPATH:`pwd`/build/lib.macosx-10.9-x86_64-3.8:\
`pwd`/src \
bash -l


+ 1
- 1
Makefile.conf View File

@ -1,7 +1,7 @@
HERE:=$(dir $(lastword $(MAKEFILE_LIST)))
# Defaults
DEBUG=1
DEBUG=0
PREFIX?=$(HOME)
BUILD_DIR = ./build


+ 1
- 7
setup.py View File

@ -96,20 +96,14 @@ class BuildExtCommand(build_ext):
home = environ.get('PER_USER_DIRECTORY') or environ.get('HOME')
sys_includes = [
'/opt/local/include',
'/usr/local/include',
'/Library/Frameworks/PrettyEasyPrivacy.framework/Versions/A/include',
'/usr/include',
]
sys_libdirs = [
'/opt/local/lib',
'/usr/local/lib',
'/Library/Frameworks/PrettyEasyPrivacy.framework/Versions/A/lib',
'/usr/lib',
]
libs = [
'pEpEngine',
'pEpAdapter',
'boost_python37-mt',
'boost_python38-mt',
'boost_locale-mt'
]
return (home, sys_includes, sys_libdirs, libs)


Loading…
Cancel
Save