p≡p for Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
heck e9cce83395 Fix mac/linux build / make all CFLAGS platform specific 9 months ago
build-windows Add Windows project and adjust build script for Windows build 9 months ago
examples Add example for simple XML based message format. 2 years ago
src/pEp Add Windows project and adjust build script for Windows build 9 months ago
test Mutli-threading support for native libs calling python code added 1 year ago
utils Add export option --secret-keys to utils/pEp 2 years ago
.gitignore Add Windows project and adjust build script for Windows build 9 months ago
.hgignore .hgignore local.conf 1 year ago
LICENSE.txt adding LICENSE.txt - this adapter is under the GNU Affero General Public License 5 years ago
Makefile Makefile, add targets: dist, dist-whl, dist-egg, install, install-prefix, install-sys 1 year ago
Makefile.conf Makefile, add targets: dist, dist-whl, dist-egg, install, install-prefix, install-sys 1 year ago
README.md Just update README.md 2 years ago
local.conf.example Add Makefile.conf / local.conf.example (like we have it in pEpEngine, libpEpAdapter, pEpJNIAdapter) 1 year ago
make.mak Add Windows project and adjust build script for Windows build 9 months ago
setup.cfg start getting declarative with setup.cfg 1 year ago
setup.py Fix mac/linux build / make all CFLAGS platform specific 9 months ago

README.md

pEpPythonAdapter

Build Insttructions

These build instructions should work on:

  • Linux (Verified 26.4.20 - heck)
  • MacOS (Verified 26.4.20 - heck)
  • Windows

Build

To build against system wide pEp installation (libs/includes)

python3 setup.py build_ext

To build against a pEp installation in your home dir (libs/includes):

python3 setup.py build_ext --local

To build against a pEp installation in a custom installation root (libs/includes)

python3 setup.py build_ext --prefix=<path_to_your_install_root>

Install

To install the extension module system wide, as root, run:

python3 setup.py install

To install the extension module into you home dir

python3 setup.py install --user

To install the extension module into a custom destination

python3 setup.py install --prefix=<custom_destination_root>

Attention: The ~ (tilde) does not get expanded, but env vars work ($HOME).