-
Notifications
You must be signed in to change notification settings - Fork 31
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 #260
Comments
Uploading it into pypi is easy, can be done instantly, but I assume you want to use it as CLI plugin In this case it will not work, because in RPM we copy CLI plugin into I'll check |
sorry I haven't found an quick way how to do it and make it workable, this would require changes to both koji and koji-c codebases. |
Hi @MartinBasti , what kind of changes are required? |
It seems that koji package doesn't support plugins via entrypoints [1], and I'm not sure how to copy content of this package into another without it. Theoretically we could do namespace package [2] in koji-container build but it needs changes in repo and I'm not sure if it will work as expected. This is where we do copy operations in RPM [1] https://pagure.io/koji/blob/master/f/cli/koji#_65 |
Or another way could be to copy it just as data_file, but it looks very hackish setup(...
data_files=[(os.path.join(sys.prefix,..., 'koji_cli_plugins'), ['plugins/cli_containerbuild.py'])],
...
) |
Could this project be released to PyPi so it can be installable via thing like Pipenv and Poetry?
The text was updated successfully, but these errors were encountered: