summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-12-28 06:44:06 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-12-28 06:44:06 +0000
commitef8690c161d3314358d22443cb5ffe3fa7f7f5af (patch)
treef4b9c64183790e17bcc17ae924c34d3e74bb47ad /setup.py
parent69bf86201ff2d85d9a84470ceb87797ec516f4df (diff)
downloadnumpy-ef8690c161d3314358d22443cb5ffe3fa7f7f5af.tar.gz
Do not add doc sources through add_data_dir: it will put the docs alongside numpy, as a separate package, which is not what we want. Use the manifest instead, since that's the only way I know of to include something in sdist-generated tarballs.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/setup.py b/setup.py
index 2bcc7f091..bf83a91f3 100755
--- a/setup.py
+++ b/setup.py
@@ -44,14 +44,6 @@ if os.path.exists('MANIFEST'): os.remove('MANIFEST')
# a lot more robust than what was previously being used.
__builtin__.__NUMPY_SETUP__ = True
-def setup_doc_files(configuration):
- # Add doc sources
- configuration.add_data_dir("doc/release")
- configuration.add_data_dir("doc/source")
- configuration.add_data_dir("doc/sphinxext")
- configuration.add_data_files(("doc/Makefile"), ("doc/postprocess.py"))
-
-
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
@@ -69,8 +61,6 @@ def configuration(parent_package='',top_path=None):
config.get_version('numpy/version.py') # sets config.version
- setup_doc_files(config)
-
return config
def setup_package():