~jtaylor/ubuntu/raring/python-numpy/1.7.1-merge

« back to all changes in this revision

Viewing changes to doc/sphinxext/setup.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-10-22 15:26:41 UTC
  • mfrom: (7.1.12 experimental)
  • Revision ID: package-import@ubuntu.com-20121022152641-j87bd9p003ii5qum
Tags: 1:1.7.0~b2-1ubuntu1
* Merge with Debian; remaining changes:
  - debian/patches/20_disable-plot-extension.patch
     Disable plot_directive extension, and catch ImportErrors when
     matplotlib cannot be imported, which allows us to remove
     python-matplotlib from dependencies.  This is required because
     python-numpy is in main, while python-matplotlib is in universe.
  - Build using dh_python2
    add bin/f2py* to .install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
from distutils.core import setup
2
 
import setuptools
3
 
import sys, os
4
2
 
5
3
version = "0.4"
6
4
 
7
5
setup(
8
6
    name="numpydoc",
9
7
    packages=["numpydoc"],
10
 
    package_dir={"numpydoc": ""},
 
8
    package_dir={"numpydoc": "."},
11
9
    version=version,
12
10
    description="Sphinx extension to support docstrings in Numpy format",
13
11
    # classifiers from http://pypi.python.org/pypi?%3Aaction=list_classifiers
20
18
    author_email="pav@iki.fi",
21
19
    url="http://github.com/numpy/numpy/tree/master/doc/sphinxext",
22
20
    license="BSD",
23
 
    zip_safe=False,
24
 
    install_requires=["Sphinx >= 1.0.1"],
25
 
    package_data={'numpydoc': 'tests', '': ''},
26
 
    entry_points={
27
 
        "console_scripts": [
28
 
            "autosummary_generate = numpydoc.autosummary_generate:main",
29
 
        ],
30
 
    },
 
21
    requires=["sphinx (>= 1.0.1)"],
 
22
    package_data={'numpydoc': ['tests/test_*.py']},
31
23
)