Workflow instructions for
fpcross
developers.
-
Install python (version 3.8; you may use anaconda package manager);
-
Create a virtual environment:
conda create --name fpcross python=3.8 -y
-
Activate the environment:
conda activate fpcross
-
Install special dependencies (for developers):
pip install sphinx twine jupyterlab
-
Install fpcross:
python setup.py install
-
Reinstall fpcross (after updates of the code):
clear && pip uninstall fpcross -y && python setup.py install
-
Delete virtual environment at the end of the work (optional):
conda activate && conda remove --name fpcross --all -y
-
Run the simple demo script:
clear && python demo/demo.py
-
Run the complex demo script:
clear && python demo/check.py
-
Update version (like
0.5.X
) in the filefpcross/__init__.py
-
Do commit
Update version (0.5.X)
and push -
Upload new version to
pypi
(login: AndreiChertkov)rm -r ./dist && python setup.py sdist bdist_wheel && twine upload dist/*
-
Reinstall and check that installed version is new
pip install --no-cache-dir --upgrade fpcross