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 Python UDF package on PyPi. #930
Comments
@OrangeTux This is a good idea. If it helps we do host a tar of just the python sources which can be found here: https://dl.influxdata.com/kapacitor/releases/python-kapacitor_udf-1.0.0.tar.gz I don't think we publish that link anywhere though, so I'll go fix that. |
@nathanielc Thanks for the link. I also send in PR #935 which adds |
@rossmcdonald Are you familiar with PyPi? I have used it but not published to it yet. My guess is its not too hard. Also is there a good place we could publish the python tarball links on our downloads site? That way we have at least some visibility to the fact that we have created a install-able tarball. |
@nathanielc I am not, though I read through some docs and it looks relatively straightforward. Regarding the download links, I think we should put the links somewhere in the repo or documentation in the short-term. For getting them on the Downloads page, we'll need to have a larger discussion with @toddboom. |
@rossmcdonald @nathanielc I'm author of several packages on PyPi. It's not hard to upload a package as a tarball. This guide covers all aspects in length, but here is a TL;DR:
Now you need to register the package on PyPi and upload a source distribution and a binary distribution (a wheel). |
This issue makes writing UDF fall out of the normal python-workflow of using PyPi for all modules :-( |
@nathanielc and @rossmcdonald commented on Sep 2016, that the tar sources are published at Until the preferred option , publishing to PyPi, is made available, Is there any way to look up for this release tar ? |
Any progress on this? We are starting to use Kapacitor and really don't want to complicate our setup of a VM with downloading stuff from a bunch of sources that may be outdated any time. |
Hi, I published it to Gitlab Package Repository under a repository in my account. We can install it using: [packages]
kapacitor-udf = {editable = true,git = "https://gitlab.com/tbert.fiuba/py-kapacitor-udf.git"} PIP: pip install git+https://gitlab.com/tbert.fiuba/py-kapacitor-udf.git In the next few days I will be uploading it to PyPI Gitlab Registry and Official PyPI Registry. |
It's cumbersome to install the Kapacitor UDF for Python because its not on Python's package index.
The text was updated successfully, but these errors were encountered: