diff options
author | David Cournapeau <cournape@gmail.com> | 2008-12-28 06:44:06 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-12-28 06:44:06 +0000 |
commit | ef8690c161d3314358d22443cb5ffe3fa7f7f5af (patch) | |
tree | f4b9c64183790e17bcc17ae924c34d3e74bb47ad /setup.py | |
parent | 69bf86201ff2d85d9a84470ceb87797ec516f4df (diff) | |
download | numpy-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-x | setup.py | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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(): |