Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 702 Bytes

BUILDING.md

File metadata and controls

34 lines (23 loc) · 702 Bytes

Building Requirements

Updating API docs

The API documentation must be udpated manually but the largest part can be generated automatically:

py -3 -c "import jbxapi, pydoc;pydoc.doc(jbxapi.JoeSandbox, output=open(sys.argv[1], 'w'))" docs/new.txt

Running Tests

The tests are written with pytest:

py -2 -m pytest
py -3 -m pytest

Building

Based on the tutorial here: https://packaging.python.org/tutorials/packaging-projects/

Upload the package to PyPi:

flit publish