p≡p for Python
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
heck 07d2130bf0 hybrid C++/Python package / Add Makefile 3 years ago
examples Add example for simple XML based message format. 3 years ago
src/pEp hybrid C++/Python package / Add Makefile 3 years ago
test hybrid C++/Python package / Add Makefile 3 years ago
utils Add export option --secret-keys to utils/pEp 3 years ago
.hgignore Add test/data/keys containing Alice and Bob pub/sec keysfiles. (for import/export tests) 3 years ago
LICENSE.txt adding LICENSE.txt - this adapter is under the GNU Affero General Public License 7 years ago
Makefile hybrid C++/Python package / Add Makefile 3 years ago
README.md Just update README.md 3 years ago
dependencies.txt adding dependency description 4 years ago
setup.py hybrid C++/Python package / Add Makefile 3 years 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).