File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 1
1
from __future__ import division , print_function
2
2
3
3
import sys
4
+ import os
4
5
5
6
from distutils .command .sdist import sdist
6
7
import setuptools
15
16
version = line .strip ().split ()[- 1 ][1 :- 1 ]
16
17
break
17
18
19
+ def read (fname ):
20
+ """Utility function to get README.rst into long_description.
21
+
22
+ ``long_description`` is what ends up on the PyPI front page.
23
+ """
24
+ return open (os .path .join (os .path .dirname (__file__ ), fname )).read ()
25
+
26
+
18
27
setup (
19
28
name = "numpydoc" ,
20
29
packages = ["numpydoc" ],
21
30
version = version ,
22
31
description = "Sphinx extension to support docstrings in Numpy format" ,
32
+ long_description = read ('README.rst' ),
23
33
# classifiers from http://pypi.python.org/pypi?%3Aaction=list_classifiers
24
34
classifiers = ["Development Status :: 4 - Beta" ,
25
35
"Environment :: Plugins" ,
You can’t perform that action at this time.
0 commit comments