The following steps have to be done for both the cases
mvn package -P distribution
, with the working directory being SYSTEMDS_ROOT
(Root directory of SystemDS)cd
to this folder (basically SYSTEMDS_ROOT/src/main/python
)create_python_dist.py
python3 create_python_dist.py
./dist
directory there will exist the source distribution systemds-VERSION.tar.gz
and the wheel distribution systemds-VERSION-py3-none-any.whl
, with VERSION
being the current version numberIf we want to build the package for uploading to the repository via python3 -m twine upload dist/*
(will be automated in the future)
Install twine with pip install --upgrade twine
Follow the instructions from the Guide
python3 -m twine upload dist/*
pip install keyrings.alt
(use with caution!) if you get UserWarning: No recommended backend was available.
__token__
pypi-
prefix