Changeset 5638 for pjproject/trunk/pjsip-apps/src/swig/python/Makefile
- Timestamp:
- Aug 2, 2017 9:45:09 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/swig/python/Makefile
r4798 r5638 1 1 PYTHON_SO=_pjsua2.so 2 3 USE_PYTHON3=1 4 5 ifeq ($(USE_PYTHON3),1) 6 PYTHON_EXE=python3 7 PYTHON_PKG_DIR=$(HOME)/.local/lib/python3.6/site-packages 8 else 9 PYTHON_EXE=python 10 PYTHON_PKG_DIR=$(HOME)/.local/lib/python2.7/site-packages 11 endif 2 12 3 13 #PYTHON_SETUP_FLAGS = --inplace … … 17 27 18 28 $(PYTHON_SO): pjsua2_wrap.cpp setup.py $(GCC_EXE) 19 pythonsetup.py build $(PYTHON_SETUP_FLAGS)29 $(PYTHON_EXE) setup.py build $(PYTHON_SETUP_FLAGS) 20 30 21 31 gcc.exe: cc_mingw.c … … 31 41 32 42 install: 33 pythonsetup.py install --user43 $(PYTHON_EXE) setup.py install --user 34 44 35 45 uninstall: 36 rm -f $( HOME)/.local/lib/python2.7/site-packages/pjsua2*37 rm -f $( HOME)/.local/lib/python2.7/site-packages/_pjsua2*46 rm -f $(PYTHON_PKG_DIR)/pjsua2* 47 rm -f $(PYTHON_PKG_DIR)/_pjsua2* 38 48
Note: See TracChangeset
for help on using the changeset viewer.