Python Packaging Hints

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:

Just some hints for packaging Python (iow, makes my life easier at 
http://python.org/pyvault).

1. Use %{__python} as opposed to python in any scriptlets. Especially be 
wary of the %pyver definitions using a call to python to grab the 
version.

2. Also, I need opinions on #!/usr/bin/python  vs.  
#!/usr/bin/pythonX.Y.  Because if a package installs 
into /usr/lib/pythonX.Y/site-packages, then any old /usr/bin/python 
won't work, it'd have to be the version specific /usr/bin/pythonX.Y.  
This might be a problem specific to my stuff, so you can ignore it if 
it is.
http://groups.google.com/group/linux.debian.maint.python/browse_thread/thread/8d68b4c5434daa6a/703315fed09e0c18%23703315fed09e0c18?sa=X&oi=groupsr&start=0&num=3

thoughts?
-- 
-jeff

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux