p4lang / p4-hlir

Apache License 2.0
32 stars 40 forks source link

Add pre-install hook to setup.py #23

Closed antoninbas closed 7 years ago

antoninbas commented 7 years ago

This hook injects some code to the bin scripts (e.g. p4-validate) before installing them, in order to adjust the PYTHONPATH dynamically to include the installation path chosen py setuptools. For lazy users who want to use a custom installation location but don't want to adjust their PYHTONPATH themselves.

Increased version to 0.9.43