p≡p for Python
 
 
 
Go to file
heck 970e261711 Fix setuptools command "install" 2020-09-18 02:58:25 +02:00
examples Add example for simple XML based message format. 2020-05-11 11:51:20 +02:00
src/pEp Mutli-threading support for native libs calling python code added 2020-08-27 00:07:21 +02:00
test Mutli-threading support for native libs calling python code added 2020-08-27 00:07:21 +02:00
utils Add export option --secret-keys to utils/pEp 2020-04-26 23:43:18 +02:00
.hgignore .hgignore local.conf 2020-08-26 22:37:09 +02:00
LICENSE.txt adding LICENSE.txt - this adapter is under the GNU Affero General Public License 2016-08-07 15:59:13 +02:00
Makefile Adjust build etc. for MacOS 2020-08-26 21:29:06 +02:00
Makefile.conf Adjust build etc. for MacOS 2020-08-26 21:29:06 +02:00
README.md Just update README.md 2020-04-26 16:03:32 +02:00
dependencies.txt adding dependency description 2019-10-29 12:03:56 +01:00
local.conf.example Add Makefile.conf / local.conf.example (like we have it in pEpEngine, libpEpAdapter, pEpJNIAdapter) 2020-08-24 20:25:38 +02:00
setup.py Fix setuptools command "install" 2020-09-18 02:58:25 +02:00

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).