Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish on PyPI? #65

Open
FriedrichFroebel opened this issue Jan 15, 2023 · 4 comments
Open

Publish on PyPI? #65

FriedrichFroebel opened this issue Jan 15, 2023 · 4 comments

Comments

@FriedrichFroebel
Copy link
Contributor

I would like to see gamera to be available on PyPI (which is why I just submitted PR #64 to at least complete the basic information). This should improve the installation experience for packages which depend on gamera and which have to rely on GitHub-based installations at the moment.

Unfortunately, this is currently blocked by an existing package under the same name by an (unknown?) user Glass.Cube, which only provides a Windows binary for Python 2.7 and gamera version 3.3.3, uploaded in 2012. To take over the package, it seems like https://peps.python.org/pep-0541/#how-to-request-a-name-transfer applies (the URL points to the general gamera webpage at HSNR and there is no public contact address as far as I am aware).

Is there any interest on your side to tackle this? Alternatively, if it is okay for you, I would try to work on this myself.

@cdalitz
Copy link
Member

cdalitz commented Jan 17, 2023

Yes, please have a look into this. Thanks for taking the trouble.

Does the availability on PyPI create maintenance issues in the future?

@FriedrichFroebel
Copy link
Contributor Author

Does the availability on PyPI create maintenance issues in the future?

There should be no general overhead when doing this. The only additional step is pushing the source distribution to PyPI on each release, which is easy to automate or to do manually.

@cdalitz
Copy link
Member

cdalitz commented Jan 17, 2023

pushing the source distribution to PyPI
Do you have some documentation how to do this?

@FriedrichFroebel
Copy link
Contributor Author

The official documentation is available at https://packaging.python.org/en/latest/tutorials/packaging-projects/. The easiest way could look like this:

  1. python3 setup.py sdist
  2. python3 -m twine upload dist/*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants