Skip to content

Commit fdb0909

Browse files
committed
rst for pypi
1 parent 9d68e58 commit fdb0909

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

requirements-dev.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# syntax check, unit test, profiling
2+
flake8>=3.8.4
3+
pytest>=6.2.1
4+
twine==3.3.0
5+
pypandoc>=1.5
6+
wheel>=0.31.0

setup.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
from setuptools import setup
2-
3-
4-
def read(fname):
5-
import os
6-
return open(os.path.join(os.path.dirname(__file__), fname)).read()
2+
import pypandoc
73

84

95
setup(name='numpy-fracdiff',
106
version='0.3.1',
117
description='Fractional Difference for Time Series',
12-
long_description=read('README.md'),
13-
long_description_content_type='text/markdown',
8+
long_description=pypandoc.convert('README.md', 'rst'),
149
url='http://github.com/ulf1/numpy-fracdiff',
1510
author='Ulf Hamster',
1611
author_email='554c46@gmail.com',

0 commit comments

Comments
 (0)