From 9b6d3e4ace78eb78fb6a8d01c5e4adb5b3f5855c Mon Sep 17 00:00:00 2001 From: dloss <> Date: Thu, 3 Nov 2011 21:13:03 +0000 Subject: [PATCH] [Imported from Trac: page Packaging, version 31] --- Packaging.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Packaging.md b/Packaging.md index b676a2d..ae3ab62 100644 --- a/Packaging.md +++ b/Packaging.md @@ -17,9 +17,9 @@ For quickstart.rst to work on your platform there *must* exist a binary .egg for #### Creating a binary egg for PyCrypto -Just add this line to setup.py: `from setuptools import setup, Extension` +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: -and run: `python setup.py bdist_egg` +`$ python -c "import setuptools; execfile('setup.py')" bdist_egg` ## [AdvancedInstall](AdvancedInstall)