[tahoe-lafs-trac-stream] [tahoe-lafs] #2077: pip packaging plan

tahoe-lafs trac at tahoe-lafs.org
Mon Mar 17 21:19:54 UTC 2014


#2077: pip packaging plan
---------------------------+--------------------------------------
     Reporter:  daira      |      Owner:
         Type:  defect     |     Status:  new
     Priority:  normal     |  Milestone:  undecided
    Component:  packaging  |    Version:  1.10.0
   Resolution:             |   Keywords:  pip packaging setuptools
Launchpad Bug:             |
---------------------------+--------------------------------------

Comment (by dstufft):

 Wheels are basically a standardized Egg with some of the more
 nebulous/dangerous features removed. They are a binary format like Egg is.
 Since 1.4 pip supports them with a flag to enable, since 1.5 hey are on by
 default. The script wrapper for something installed from a Wheel looks
 like

 {{{
 #!/Users/dstufft/.pyenv/versions/3.4.0rc3/bin/python3.4

 # -*- coding: utf-8 -*-
 import re
 import sys

 from pip import main

 if __name__ == '__main__':
     sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
     sys.exit(main())
 }}}

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2077#comment:15>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list