Skip to content

Commit 276f01d

Browse files
committed
Add readme.rst as long description on PyPi #13
1 parent 33e82e8 commit 276f01d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import os
22
from setuptools import setup
33

4+
def read(fname):
5+
return open(os.path.join(os.path.dirname(__file__), fname)).read()
6+
47
setup(name='windpowerlib',
58
version='0.0.6',
69
description='Creating time series from wind power plants.',
@@ -11,6 +14,7 @@
1114
packages=['windpowerlib'],
1215
package_data={
1316
'windpowerlib': [os.path.join('data', '*.csv')]},
17+
long_description=read('README.rst'),
1418
zip_safe=False,
1519
install_requires=['numpy >= 1.7.0',
1620
'pandas >= 0.13.1'])

0 commit comments

Comments
 (0)