From ef8690c161d3314358d22443cb5ffe3fa7f7f5af Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Sun, 28 Dec 2008 06:44:06 +0000 Subject: 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. --- setup.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'setup.py') 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(): -- cgit v1.2.1