-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Modernize python scripts packaging, python versioning #3350
Comments
This was referenced Nov 30, 2021
We went ahead and did this over on conda-forge: conda-forge/antlr-python-runtime-feedstock#31 Will submit a patch with that approach. |
4 tasks
Opened #3379 |
parrt
added a commit
to bollwyvl/antlr4
that referenced
this issue
Dec 28, 2021
parrt
added a commit
that referenced
this issue
Dec 28, 2021
[Python3] rename pygrun, add entry_point
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi folks, thanks for the antlrverse!
The current use of
scripts
in thePythonX
runtimes makes it harder to generate otherwise-solid cross-platform downstream packages that have different constraints than e.g. PyPI. Adopting a newer approach, would look like:and would means that...
antlr4-pythonX-runtime.pygrun:main
or some other thing.bat
wrapper script would no longer be neededconda-forge
, this would mean going from a matrix of 20+ builds to a single build.Furthermore, as the description suggests a bottom python pin, formally declaring this would further improve the metadata for both
pip
users and others.Thanks again!
The text was updated successfully, but these errors were encountered: