Library of commonly used Precision 100 Operators
In order to build the project from source code and to make changes
- Checkout the source code
git clone github.com/Evolvus/precision-100-operators
- Create a python3 virtual environment
cd precision-100-operators
python3 -m venv app
source app/bin/activate
- Install the tools necessary to build and deploy the application to pypi
python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine
- Build the project
To build the project navigate to the folder containing the toml file. Upon executing the following commands the built artifacts are added to the dist folder
cd app
python3 -m build
- Deploy the project to PyPi repository
Before deploy the artifacts to PyPi we need to make sure the version is updated properly. The version of the release is updated by editing the version in the toml file.
python3 -m twine upload --repository testpypi dist/*
To deploy the operators from the repository, execute the following,
python3 -m pip install --index-url https://test.pypi.org/simple precision_100_operators