Changes between Version 24 and Version 25 of Packaging


Ignore:
Timestamp:
2011-05-17T21:02:28Z (13 years ago)
Author:
zooko
Comment:

move a packaging tip and trick to here from TipsTricks

Legend:

Unmodified
Added
Removed
Modified
  • Packaging

    v24 v25  
    1515
    1616For quickstart.html to work on your platform there ''must'' exist a binary .egg for your platform of every dependency which has a native-code extension module. Currently those are: pycryptopp, zfec, pywin32, and !PyCrypto. If there is not a binary .egg available of one of those packages for a given platform then this is a bug which prevents quickstart.html from working on that platform. (Note: if you already had that Python package installed on your system then you would be able to setup Tahoe-LAFS even if there is not a binary egg of that Python package available, e.g. if you manually installed the package already or if you installed the package already using an operating system packaging tool like apt-get. Nonetheless, since we can't rely on the user having done that and since quickstart.html cannot instruct the user to do that (see the section about quickstart.html above), then the absence of a binary .egg of a dependency for a platform is a bug preventing quickstart.html from working on that platform.)
     17
     18==== Creating binary egg for pycrypto ====
     19
     20Juste add this line to setup.py: {{{from setuptools import setup, Extension}}}
     21
     22and run: {{{python setup.py bdist_egg}}}
    1723
    1824== AdvancedInstall ==