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

PyPI release? #8

Open
aclark4life opened this issue Apr 19, 2024 · 12 comments
Open

PyPI release? #8

aclark4life opened this issue Apr 19, 2024 · 12 comments

Comments

@aclark4life
Copy link

This looks cool! Have you considered doing a PyPI release? Need any help with that?

@TrueMyst
Copy link
Owner

TrueMyst commented Apr 19, 2024

Wait, oh my god! I can't believe that it's the creator of Pillow himself. Yes, I do plan to release it in PyPi and put it on a website, maybe! Haha, there is a lot of work to do.

But I'm really glad that you took your time out and checked my project out. This means a lot to me ❤️

@TrueMyst
Copy link
Owner

This looks cool! Have you considered doing a PyPI release? Need any help with that?

Oh of course yes, if you want to help me out, that'll be awesome!

@cherriae cherriae mentioned this issue May 2, 2024
@Magniquick
Copy link
Contributor

Just my two cents, but pipx + github might be a better choice for this - no need to mess around PyPI stuff, mess with releases (releases don't make much sense for a thing like this imho), and it feels nicer too.
(Also hola myst ! Nice to see stuff going well here - I'll be free to jump here in two weeks or so.)

@TrueMyst
Copy link
Owner

Just my two cents, but pipx + github might be a better choice for this - no need to mess around PyPI stuff, mess with releases (releases don't make much sense for a thing like this imho), and it feels nicer too. (Also hola myst ! Nice to see stuff going well here - I'll be free to jump here in two weeks or so.)

Hmm this makes sense to me, but what about those people who wants to use it as a module?

@Magniquick
Copy link
Contributor

who would though ?
It's supposed to be a self contained app right ?
also, pip can do it from git repos too iirc.

@TrueMyst
Copy link
Owner

who would though ? It's supposed to be a self contained app right ? also, pip can do it from git repos too iirc.

Hmm sounds good to em :)), I'll start working on that

@aclark4life
Copy link
Author

I would still love a PyPI release! My kingdom for pip install beatprints or if I wanted isolation, I'd install it with pipx install beatprints.

@TrueMyst
Copy link
Owner

I would still love a PyPI release! My kingdom for pip install beatprints or if I wanted isolation, I'd install it with pipx install beatprints.

I would like to release it as pipx tool. Though I need some help if you want it as a pip package :))

I'll be really glad to see the support for that.

@qTipTip
Copy link

qTipTip commented Oct 24, 2024

Hello! 👋

I like this project too, and would love to see it as a pypi-release!

There is some great documentation on how to do this here.

But in short:

  • Converting the package to one managed by Poetry might be a good first step:
    https://python-poetry.org/
    This will allow you to run poetry build to generate distributions (which is what you upload to PyPi).

  • You can then use a GitHub action for instance, I use this one (https://github.com/pypa/gh-action-pypi-publish), to push new versions of your package to PyPi on release. You can see an example here.

@TrueMyst
Copy link
Owner

@qTipTip Thank you! I’ve been a bit tied up lately, but I’ll publish it as soon as I can.

@qTipTip
Copy link

qTipTip commented Oct 30, 2024

Great! 🥳

You can also define an entrypoint in the scripts field in the pyproject.toml: https://python-poetry.org/docs/pyproject/#scripts

So, you can execute the CLI by running:

beatprints

instead of

python3 prompt.py

for instance.

@TrueMyst
Copy link
Owner

TrueMyst commented Nov 4, 2024

Perfect, I'm free now. I'll start working on it!

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

4 participants