diff options
author | Pauli Virtanen <pav@iki.fi> | 2009-04-01 21:57:08 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2009-04-01 21:57:08 +0000 |
commit | bc1ddc5e61e2a5cb112075765d5392e139fb834a (patch) | |
tree | 0b6eb6aee3c66ace12d4de6e7365e03800ff7147 /setup.py | |
parent | 26711cfdfd4ce7dd3c5ef7ce6c6ff3f58a6822f6 (diff) | |
download | numpydoc-bc1ddc5e61e2a5cb112075765d5392e139fb834a.tar.gz |
sphinxext: convert the Sphinx extensions into a `numpydoc` package that can be distributed separately
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..2e29ad5 --- /dev/null +++ b/setup.py @@ -0,0 +1,31 @@ +from distutils.core import setup +import setuptools +import sys, os + +version = "0.1" + +setup( + name="numpydoc", + packages=["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 + classifiers=["Development Status :: 3 - Alpha", + "Environment :: Plugins", + "License :: OSI Approved :: BSD License", + "Topic :: Documentation"], + keywords="sphinx numpy", + author="Pauli Virtanen and others", + author_email="pav@iki.fi", + url="http://projects.scipy.org/numpy/browser/trunk/doc/sphinxext", + license="BSD", + zip_safe=False, + install_requires=["Sphinx >= 0.5"], + package_data={'numpydoc': 'tests'}, + entry_points={ + "console_scripts": [ + "autosummary_generate = numpydoc.autosummary_generate:main", + ], + }, +) |