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.

41 lines
969 B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. # pEpPythonAdapter
  2. ## Build Insttructions
  3. These build instructions should work on:
  4. * Linux (Verified 26.4.20 - heck)
  5. * MacOS (Verified 26.4.20 - heck)
  6. * Windows
  7. ### Build
  8. To build against system wide pEp installation (libs/includes)
  9. ```bash
  10. python3 setup.py build_ext
  11. ```
  12. To build against a pEp installation in your home dir (libs/includes):
  13. ```bash
  14. python3 setup.py build_ext --local
  15. ```
  16. To build against a pEp installation in a custom installation root (libs/includes)
  17. ```bash
  18. python3 setup.py build_ext --prefix=<path_to_your_install_root>
  19. ```
  20. ### Install
  21. To install the extension module system wide, as root, run:
  22. ```bash
  23. python3 setup.py install
  24. ```
  25. To install the extension module into you home dir
  26. ```bash
  27. python3 setup.py install --user
  28. ```
  29. To install the extension module into a custom destination
  30. ```bash
  31. python3 setup.py install --prefix=<custom_destination_root>
  32. ```
  33. Attention: The ~ (tilde) does not get expanded, but env vars work ($HOME).