The following steps have to be done for both cases
- Build SystemDS with maven first
mvn package -DskipTests, with the working directory beingSYSTEMDS_ROOT(Root directory of SystemDS) cdto this folder (basicallySYSTEMDS_ROOT/src/main/python
If we want to build the package for uploading to the repository via python3 -m twine upload --repository-url [URL] dist/* (will be automated in the future)
- Run
create_python_dist.py
python3 create_python_dist.py- now in the
./distdirectory there will exist the source distributionsystemds-VERSION.tar.gzand the wheel distributionsystemds-VERSION-py3-none-any.whl, withVERSIONbeing the current version number - Finished. We can now upload it with
python3 -m twine upload --repository-url [URL] dist/*
If we want to build the package just locally for development, the following steps will suffice
- Run
pre_setup.py(this will copylibandsystemds-VERSION-SNAPSHOT.jar)
python3 create_python_dist.py- Finished. Test by running a test case of your choice:
python3 tests/test_matrix_binary_op.py