Commits

Anonymous committed 210ffc7

fixed use_setuptools

Comments (0)

Files changed (3)

   PyPI's http://packages.python.org.
   This close http://bitbucket.org/tarek/distribute/issue/56.
 
+* Fixed a bootstrap bug on the use_setuptools() API.
+
 -----
 0.6.3
 -----
 - remove the *.OLD.* directory located in your site-packages directory if any,
   **once you have checked everything was working correctly again**.
 
+-------------------------
+Quick help for developers
+-------------------------
+
+To use Distribute in your package, the recommended way is to ship
+`distribute_setup.py` alongside your `setup.py` script and call 
+it at the very begining of `setup.py` like this::
+
+    from distribute_setup import use_setuptools
+    use_setuptools()
+
+
+Another way is to add ``Distribute`` in the ``install_requires`` option::
+
+    from setuptools import setup
+
+    setup(...
+          install_requires=['distribute']
+    )
+
 -----------
 Install FAQ
 -----------

distribute_setup.py

     try:
         import pkg_resources
         if not hasattr(pkg_resources, '_distribute'):
+            fake_setuptools()
             raise ImportError
     except ImportError:
         return _do_download(version, download_base, to_dir, download_delay)