File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 1
1
from distutils .core import setup
2
2
3
+ with open ('README.md' ) as f :
4
+ data = f .read ()
5
+ try :
6
+ import pypandoc
7
+ description = pypandoc .convert (data , 'rst' , format = 'markdown' )
8
+ except ImportError :
9
+ print ("pypandoc conversion failed, readme will not be rendered on PyPI" )
10
+ print ("(You can ignore this if you're only doing local development)" )
11
+ description = data
12
+
13
+
3
14
4
15
extras_requires = {
5
16
':sys_platform == "win32"' : ['pyreadline>=2' ],
8
19
9
20
setup (
10
21
name = 'rlipython' ,
11
- version = '0.1.1 ' ,
22
+ version = '0.1.2 ' ,
12
23
packages = ['rlipython' ,],
13
24
install_requires = ["ipython>5.3" ],
14
25
extras_requires = extras_requires ,
17
28
18
29
url = 'https://github.com/ipython/rlipython' ,
19
30
description = "readline integration for IPython 5.4+ and 6.0+" ,
20
- long_description = open ( 'readme.md' ). read (),
31
+ long_description = description
21
32
)
You can’t perform that action at this time.
0 commit comments