- flit
- build
- pytest
- Python >=3.8.7 or >=3.9.1 because earlier versions leak paths: pypa/setuptools#1185 (comment)
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
The tests are written with pytest:
py -2 -m pytest
py -3 -m pytest
Based on the tutorial here: https://packaging.python.org/tutorials/packaging-projects/
Upload the package to PyPi:
flit publish