Martijn Ras wrote:
Is it possible to create a RPM package to distribute a python module, without tying it to a specific version Python?
If the module / package is "pure Python", then yes: best practice anyway is to avoid packaging the ".pyc" / ".pyo" files, and instead use the "local" python to generate them during the "%post" script.
You would just declare a dependency on the "python" RPM, and use the "canonical" python (/usr/bin/python) to do the recompile.
Of course, this presumes that your module / package doesn't use language features which are not present in earlier versions of Python.
Tres. -- =============================================================== Tres Seaver tseaver@xxxxxxxx Zope Corporation "Zope Dealers" http://www.zope.com
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list