icub-tech-iit / urdf-modifiers

BSD 3-Clause "New" or "Revised" License
14 stars 4 forks source link

Publish library to pypi #35

Open CarlottaSartore opened 1 year ago

CarlottaSartore commented 1 year ago

I currently need this library for several projects. For this, it would be great to have the library available via pip rather than installing via the GitHub link.

What do you think? @Nicogene @mfussi66

If you agree, I can take care of the related implementation and open a PR

mfussi66 commented 1 year ago

Ok for me! Are there any requirements to publish it on pypi?

CarlottaSartore commented 1 year ago

I do not think so (@traversaro correct me if I am wrong )

Nicogene commented 1 year ago

Go also from my side 👍🏻

traversaro commented 12 months ago

cc @CarlottaSartore , see https://github.com/icub-tech-iit/urdf-modifiers/pull/36#issuecomment-1807820134 . The problem does not seems to be related to the token.

traversaro commented 1 week ago

Apparently the problem is still present, and so now the README in both https://github.com/icub-tech-iit/urdf-modifiers and https://github.com/ami-iit/human-model-generator is wrong, as they suggest to do pip install urdf-modifiers that does not work.

traversaro commented 1 week ago

Ok, to unblock the situation I manually uploaded the project to pypi with:

git clone https://github.com/icub-tech-iit/urdf-modifiers
cd urdf-modifiers
pixi init . 
pixi add twine python==3.11 python-build pip
pixi shell
python -m build --sdist --wheel --outdir dist/ .
twine upload dist/*

I also needed to modify the setup.cfg to add the authors otherwise the upload was failing, I will open a PR for that. The uploaded project is available at https://pypi.org/project/urdf-modifiers/, @CarlottaSartore @Nicogene feel free to give me your PyPI usernames if you want to be added as maintainers.

Nicogene commented 1 week ago

@CarlottaSartore @Nicogene feel free to give me your PyPI usernames if you want to be added as maintainers.

I don't have a PyPI profile, we can put the @CarlottaSartore one, otherwise I can create the profile

CarlottaSartore commented 1 week ago

Here it is https://pypi.org/user/CarlottaSartore/