Skip to content

Commit 899fe6f

Browse files
committed
fix setup.py
1 parent c0538ee commit 899fe6f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

setup.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
from sqlalchemy_mptt import __version__
22
from setuptools import setup
33

4-
try:
5-
from pypandoc import convert
6-
read_md = lambda f: convert(f, 'rst')
7-
except ImportError:
8-
print("warning: pypandoc module not found, could not convert Markdown to RST")
9-
read_md = lambda f: open(f, 'r').read()
10-
114
setup(
125
name='sqlalchemy_mptt',
136
version=__version__,
@@ -21,7 +14,10 @@
2114
test_suite="nose.collector",
2215
license="GPL",
2316
description='SQLAlchemy MPTT mixins (Nested Sets)',
24-
long_description=read_md('README.md'),
17+
package_data={
18+
'': ['*.txt', '*.rst', '*.md'],
19+
},
20+
long_description="http://github.com/ITCase/sqlalchemy_mptt/",
2521
install_requires=[
2622
"sqlalchemy",
2723
],

0 commit comments

Comments
 (0)