aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormborch@valga.local <mborch@valga.local>2009-11-04 17:26:28 +0100
committermborch@valga.local <mborch@valga.local>2009-11-04 17:26:28 +0100
commit529f165dfbd7b654b646b1b42b1ba6419e5ce832 (patch)
tree898b19683ae1b4bf11ca268610ef0e7efc29260c
parent0118a1febd0bde436f3f0e392d016b8e7e7656c9 (diff)
downloadexternal_python_setuptools-529f165dfbd7b654b646b1b42b1ba6419e5ce832.tar.gz
external_python_setuptools-529f165dfbd7b654b646b1b42b1ba6419e5ce832.tar.bz2
external_python_setuptools-529f165dfbd7b654b646b1b42b1ba6419e5ce832.zip
Added instructions from Florian Schultze.
--HG-- branch : distribute extra : rebase_source : bd41be5da388ce505e146bdb445342a585e732fd
-rwxr-xr-xREADME.txt36
1 files changed, 26 insertions, 10 deletions
diff --git a/README.txt b/README.txt
index fad5145f..8ec73116 100755
--- a/README.txt
+++ b/README.txt
@@ -149,21 +149,37 @@ Lastly:
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::
+To create an egg which is compatible with Distribute, use the same
+practice as with Setuptools, e.g.:
- from distribute_setup import use_setuptools
- use_setuptools()
+{{{
+from setuptools import setup
+setup(...
+)
+}}}
-Another way is to add ``Distribute`` in the ``install_requires`` option::
+To use `pkg_resources` to access data files in the egg, you should
+require the Setuptools distribution explicitly:
- from setuptools import setup
+{{{
+from setuptools import setup
- setup(...
- install_requires=['distribute']
- )
+setup(...
+ install_requires=['setuptools']
+)
+}}}
+
+Only if you need Distribute-specific functionality should you depend
+on it explicitly. In this case, replace the Setuptools dependency:
+
+{{{
+from setuptools import setup
+
+setup(...
+ install_requires=['distribute']
+)
+}}}
-----------
Install FAQ