-
-
Notifications
You must be signed in to change notification settings - Fork 625
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 task
as a Python package
#935
Comments
Hi @sisp, I have zero experience with the Python world, so to even consider doing this I need some guidance from the community. npm was easy because I'm more familiar with the JS world and the process was relative straightforward. For anyone that would use this, please add your 👍 so we know how many would really use this. |
hi @andreynering @sisp I could help with this if interested. Would likely utilize poetry as the mechanism for publishing the package. |
@retr0h I do like Poetry for Python projects, but I don't think it's useful or even beneficial in this case. The projects I referenced build packages that essentially download the binary for the respective platform during installation of the package. This can be done nicely in |
@sisp Mostly b/c setup.py has better alternatives now days. Poetry can handle publishing packages as well and uses the modern day pyproject.toml file to support such efforts. |
@retr0h Old tools but widely adopted. There's nothing wrong with that. Anyway, how would you implement the code that downloads the binaries for the given platform and architecture during package installation with Poetry? |
I see a implement https://pypi.org/project/go-task-bin/#description |
I'd love to use
task
as the task runner in a Python project without requiring developers to installtask
manually. In my opinion, it is much better to usetask
over the plethora of language-specific task runners because it tends to be more feature-rich than many alternatives (as far as I can tell) and can be used for projects independent of their programming languages across all major operating systems without requiring a runtime (like the Python interpreter) thanks to the compiled Go binaries. I'd hope thattask
would gain further adoption with additional language-native packages and development efforts would focus on this project rather than being scattered across the language-specific alternatives.I believe a Python package could be created quite easily with some inspiration from the following projects:
Would you be open to accepting a contribution that adds support for publishing a Python package?
Related to #870.
The text was updated successfully, but these errors were encountered: