-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
Add console_scripts entry point for "checking" the version? #365
Comments
currently this is already exposed via multiple entry-points that do not require creating a script the old setuptools integration features a main entry-point is exposed for both of those don't do the local version check (its something i actually avoid in my release pipelines) would you like to propose a pr and/or the exact semantics you'd like to see? |
Thanks! I see that
And maybe something like this in
Also, I discovered that Warehouse uses Finally, if you don't mind, why do you avoid the local version check? |
i do use devpi and there local versions are fine the command should be named like something that clearly indicates a check for pypi uploadability |
Also, I forgot that this was already under consideration in pypa/twine#430. Happy to consider implementing it there, although adding it here would make it useful for other uploaders (e.g. Poetry) and allow for a clearer course of action (e.g. "clean your working tree"). |
Hi there! Thanks for making this. I'm setting up a new project, and I've found it very useful to offload the version management.
I've made a rudimentary release pipeline with tox:
And the contents of
check_version.py
is:Could something like
check_version
be implemented in setuptools_scm?It's somewhat overkill, because PyPI will reject PEP-440 local versions, but I thought it'd be nice to abort before that step.
The text was updated successfully, but these errors were encountered: