pierre-24 / pyiso4

Implementation of the ISO 4 standard for journal titles abbreviations in Python.
MIT License
4 stars 2 forks source link

Publishing package on PyPI #2

Closed klb2 closed 6 months ago

klb2 commented 6 months ago

I really like the package and I would like to use it as a dependency for one of my projects. In order for me to update my package on PyPI, this package also needs to be available there.
This would have the additional benefit that other users could also install pyiso4 directly via pip by running pip install pyiso4.

Is there a plan to publish this package on PyPI?

pierre-24 commented 6 months ago

Hello, and thanks! I will try to do that (I have to say that I never uploaded anything on pypi before).

klb2 commented 6 months ago

Thank you. It is actually very simple. You need to create an account on PyPI and then build and upload the package according to the steps which are described here. It is a very simple two step process. Basically, you only need to run the following two commands:

python3 -m build
python3 -m twine upload dist/*
pierre-24 commented 6 months ago

Actually, you have to use Github actions to do so. So I prep'd everything and now I'm waiting for the go :)

image

pierre-24 commented 6 months ago

... And it is done, package is live: https://pypi.org/project/pyiso4/ !

klb2 commented 6 months ago

Great. Thank you!