Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 656 Bytes

BUILDING.md

File metadata and controls

30 lines (25 loc) · 656 Bytes

BUILDING

pip install -e .
( cd docs && make html )
# Install packages for testing - will install JAX, Torch, etc.
pip install -r requirements-dev.txt
pytest .

To run tests on 32-bit linux/386 in Docker:

# Build image if missing, then run tests
bash etc/test-linux-386.sh
# Build image if missing
bash etc/test-linux-386.sh load
# Force rebuild image
bash etc/test-linux-386.sh build
# Run tests only (requires existing image)
bash etc/test-linux-386.sh run

Packaging for pypi release:

Edit version number in etc/package.sh and run

sh etc/package.sh