File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 11from sqlalchemy_mptt import __version__
22from 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 ()
410
511setup (
612 name = 'sqlalchemy_mptt' ,
1521 test_suite = "nose.collector" ,
1622 license = "GPL" ,
1723 description = 'SQLAlchemy MPTT mixins (Nested Sets)' ,
18- long_description = open ('README.md' ). read ( ),
24+ long_description = read_md ('README.md' ),
1925 install_requires = [
2026 "sqlalchemy" ,
2127 ],
Original file line number Diff line number Diff line change 77# Distributed under terms of the MIT license.
88from mixins import BaseNestedSets
99
10- __version__ = "0.0.1a "
10+ __version__ = "0.0.1b "
1111__mixins__ = [BaseNestedSets ]
You can’t perform that action at this time.
0 commit comments