fix command to build a pyOpenSSL egg

[Imported from Trac: page Packaging, version 44]
daira 2013-06-16 22:40:19 +00:00
parent 4e5c0e83d6
commit 7ee30d3ad3

@ -47,11 +47,11 @@ The eggs are built from the corresponding source packages:
* [zfec](https://pypi.python.org/pypi/zfec)
* [zope.interface](https://pypi.python.org/pypi/zope.interface)
Except for PyCrypto (see below), each egg is built by running `python setup.py bdist_egg` in the root of its source distribution.
Except for PyCrypto and pyOpenSSL (see below), each egg is built by running `python setup.py bdist_egg` in the root of its source distribution.
#### Creating a binary egg for PyCrypto
#### Creating a binary egg for PyCrypto or pyOpenSSL
PyCrypto's `setup.py` does not support setuptools, so the `bdist_egg` target is not available out of the box. To build an egg, use the following command:
The `setup.py` of these packages does not support setuptools, so the `bdist_egg` target is not available out of the box. To build an egg, use the following command:
`$ python -c "import setuptools; __file__ = 'setup.py'; execfile('setup.py')" bdist_egg`