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

Consider publishing to pypi? #29

Open
1 of 12 tasks
HandcartCactus opened this issue Aug 11, 2023 · 4 comments
Open
1 of 12 tasks

Consider publishing to pypi? #29

HandcartCactus opened this issue Aug 11, 2023 · 4 comments

Comments

@HandcartCactus
Copy link
Collaborator

HandcartCactus commented Aug 11, 2023

I was thinking about building something very similar myself, and I'm delighted to learn that I don't have to. The code looks well made and straightforward. Would you consider publishing this anytime soon? I'm happy to assist with any coding/tests/documentation.

  • Create setup.py
    • The distribution name metatune is taken on PyPI. Here are some options:
      • Ask ChrisCummins to unpublish their package (appears to be unused).
      • Add a prefix: python-metatune or sklearn-metatune
      • Choose a new name: e.g. sklearn-optuna (must be available on PyPI)
    • Select a version (0.0.1)
    • Select an author_name and email (@ches-001 I think these should be yours)
  • Actually Publish
    • Review setup.py
    • Discuss import name and distribution name
      • Consider changing import name to match distribution name, if metatune is not used.
    • Build project (Please let me know if you prefer a specific build back-end.)
    • Discuss adding tox/nox or other CI/CD tooling
    • Publish project on test.pypi.org and test import
    • Publish project on pypi.org
@ches-001
Copy link
Owner

ches-001 commented Apr 7, 2024

@HandcartCactus sorry for the very late response.

This GitHub repository was for a quick project, but I'd be happy to push to pypi and proceed further with your help, whenever you're available.

@HandcartCactus
Copy link
Collaborator Author

No worries! As the project owner, I assume you'll want to have control over the PyPI repo. The first step would be to make an authenticated account on pypi.org, if you do not already. Authenticating your account requires you to save some recovery codes in a file somewhere and getting a TOTP app. I'm using FreeOTP, which you can get for free off the google play store or FDroid app store.

More info here: https://blog.pypi.org/posts/2024-01-01-2fa-enforced/
https://pypi.org/help/#totp (includes a list of TOTP apps)

I'm also capable of publishing the package myself, if you prefer.

@ches-001
Copy link
Owner

ches-001 commented Apr 9, 2024

Sure, you can publish the package
I'll be adding you as a collaborator.

@HandcartCactus
Copy link
Collaborator Author

Sounds good. I'll maintain a to-do checklist above.

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