mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-06 03:31:41 +00:00
Add photonlibpy (#1040)
* Added a pure-python implementation of photonlib, named photonlibpy and hosted on pypi --------- Co-authored-by: Matt <matthew.morley.ca@gmail.com>
This commit is contained in:
14
photon-lib/py/buildAndTest.bat
Normal file
14
photon-lib/py/buildAndTest.bat
Normal file
@@ -0,0 +1,14 @@
|
||||
:: Uninstall if it already was installed
|
||||
pip uninstall -y photonlibpy
|
||||
|
||||
:: Build wheel
|
||||
python setup.py bdist_wheel
|
||||
|
||||
:: Install whatever wheel was made
|
||||
for %%f in (dist/*.whl) do (
|
||||
echo installing dist/%%f
|
||||
pip install --no-cache-dir dist/%%f
|
||||
)
|
||||
|
||||
:: Run the test suite
|
||||
pytest
|
||||
Reference in New Issue
Block a user