Dependencies by python version
Closed this issue · 4 comments
jmcs commented
It should be possible to set dependencies by Python version to allow installing backported modules only when needed.
FRidh commented
Not just different versions of the Python language (and reference implementation) but also for different interpreters like PyPy and Pyston.
jacebrowning commented
On a similar note, but quite a bit harder, what about different operating systems?
e.g. For running a file watcher I need to install one and only one of pywin32
(Windows) or MacFSEvents
(macOS) or pyinotify
(Linux).
This is currently accomplished with custom code in setup.py
.
FRidh commented
@jacebrowning Yes, that as well.
kennethreitz commented
This is for application deployments, and will be used to target one specific operating system, if any.