python-click

Asked by William Di Luigi

I don't know where to ask this. I just wanted to ask: why isn't python-click available on ubuntu? (just like python-werkzeug). Are there any plans to add it?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu python-werkzeug Edit question
Assignee:
No assignee Edit question
Solved by:
William Di Luigi
Solved:
Last query:
Last reply:
Revision history for this message
michael (yellupcm-gmail) said :
#1

Have you checked Synaptic Package Manager?

Revision history for this message
William Di Luigi (wil93) said :
#2

I did. There is a "python3-click" package but it's totally unrelated to click (the CLI creation library made by Werkzeug's developer).

$ apt-cache search python-werkzeug
python-werkzeug - collection of utilities for WSGI applications
python-werkzeug-doc - documentation for the werkzeug Python library

As you can see Werkzeug is available. But click gives an empty result:

$ apt-cache search python-click

I also searched on the web but I don't find it on Ubuntu repositories.

Revision history for this message
Thomas Krüger (thkrueger) said :
#3

The ubuntu package repositories do not contain all the python libraries. They contain many important libs and the onces other Ubuntu packages rely on.
If you are developing in Python you should consider using virtualenv (http://virtualenv.readthedocs.org/en/latest/) and pip.

Revision history for this message
William Di Luigi (wil93) said :
#4

Thanks for the answer. I need click to be automatically installed as a dependency for a deb package. Do you know how I can achieve this? (apart from depending on "python-pip" and calling "sudo pip install click" manually..)

Revision history for this message
William Di Luigi (wil93) said :
#5

Ok I think I found a "workaround": http://stackoverflow.com/questions/12210389/how-to-add-pypi-dependencies-to-deb-package

Still, where should I look in order to "suggest" adding something to Ubuntu repositories? Is it possible to do so?

Revision history for this message
Thomas Krüger (thkrueger) said :
#6

Well, that is not the way it works. If you have a "private" dependency, you have to add your dependency packages to a private repository or distribute them in an other way. The official repositories are not there to satisfy every need.
You have the option to use a PPA for open source software, If your main software is open source you can also publish it that way. Else you can use it for the dependencies.