Skip to content

Commit

Permalink
sphinxext: some cleanup in setup.py
Browse files Browse the repository at this point in the history
- remove obsolete entry_points (the corresponding code was removed in
  08e85c1).
- drop setuptools import
- adjust setup() argument to conform with distutils format
dlax committed Jun 7, 2012

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent fd78546 commit adddbc7
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions doc/sphinxext/setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
from distutils.core import setup
import setuptools
import sys, os

version = "0.4"

setup(
name="numpydoc",
packages=["numpydoc"],
package_dir={"numpydoc": ""},
package_dir={"numpydoc": "."},
version=version,
description="Sphinx extension to support docstrings in Numpy format",
# classifiers from http://pypi.python.org/pypi?%3Aaction=list_classifiers
@@ -20,12 +18,6 @@
author_email="[email protected]",
url="http://github.com/numpy/numpy/tree/master/doc/sphinxext",
license="BSD",
zip_safe=False,
install_requires=["Sphinx >= 1.0.1"],
package_data={'numpydoc': 'tests', '': ''},
entry_points={
"console_scripts": [
"autosummary_generate = numpydoc.autosummary_generate:main",
],
},
requires=["sphinx (>= 1.0.1)"],
package_data={'numpydoc': ['tests/test_*.py']},
)

0 comments on commit adddbc7

Please sign in to comment.