Closed brando90 closed 2 years ago
Hi!
I was wondering if we could push the project to pypi with version numbers? That way users of anatome can track bugs and ping their projects to specific versions.
Pushing to pypi is super easy its just a few commands with nothing for you learn (just run them, for details see https://github.com/brando90/ultimate-utils/tree/master/tutorials_for_myself/pushing_to_pypi):
pip install twine
go to project src and do:
python setup.py sdist bdist_wheel
create the distribution for pypi:
twine check dist/*
twine upload dist/*
click url that appears to test it worked e.g.
Uploading distributions to https://upload.pypi.org/legacy/ Enter your username: brando90 Enter your password: Uploading ultimate_utils-0.1.0-py3-none-any.whl 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 94.2k/94.2k [00:02<00:00, 32.9kB/s] Uploading ultimate-utils-0.1.0.tar.gz 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 82.5k/82.5k [00:01<00:00, 43.4kB/s] View at: https://pypi.org/project/ultimate-utils/0.1.0/
create fresh conda env:
conda create -n test_env python=3.9 conda activate test_env
Test by pip installing it to your env:
pip install ultimate-utils
Hi!
I was wondering if we could push the project to pypi with version numbers? That way users of anatome can track bugs and ping their projects to specific versions.
Pushing to pypi is super easy its just a few commands with nothing for you learn (just run them, for details see https://github.com/brando90/ultimate-utils/tree/master/tutorials_for_myself/pushing_to_pypi):
Steps to upload to pypi
go to project src and do:
create the distribution for pypi:
Upload to pypi
click url that appears to test it worked e.g.
Test by pip installing it
create fresh conda env:
Test by pip installing it to your env: