I need to install wxPython on Debian 9 (Stretch) and Debian 10 (Buster) systems, via a pip requirements file.
At the moment the install is manual for each target os, but I was wondering if the pip environment markers could be used to determine the appropriate dependency. Described in PIP 508
platform_version
seems to be the closes possibility. It would work fine for different OS (e.g. Linux v Windows v Mac), but doesn’t seem to have enough fine grain control to detect different versions of the same OS (e.g. Debian 9 v Debian 10, or even Ubuntu XX, etc).
Anyone know of way of achieving this (other than a bash script or python script?).
Anyway of using the extra
marker perhaps ?