p4lang / p4c-bm

Generates the JSON configuration for the behavioral-model (bmv2), as well as the C/C++ PD code
Apache License 2.0
24 stars 29 forks source link

Add pre-install hook to setup.py #74

Closed antoninbas closed 7 years ago

antoninbas commented 7 years ago

This hook generates a wrapper script for p4c_bm.main.py which is used in lieu of p4c-bmv2. The script 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.

codecov-io commented 7 years ago

Current coverage is 96.89% (diff: 100%)

Merging #74 into master will not change coverage

@@             master        #74   diff @@
==========================================
  Files            10         10          
  Lines          1577       1577          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           1528       1528          
  Misses           49         49          
  Partials          0          0          

Powered by Codecov. Last update 434836f...49c1f8c