-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
setup.py
40 lines (36 loc) · 1.57 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/python
# -*- coding:Utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert_file
read_md = lambda f: convert_file(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
setup(name='redbaron',
version='0.9.2',
description='Abstraction on top of baron, a FST for python to make writing refactoring code a realistic task',
author='Laurent Peuch',
long_description=read_md("README.md") + "\n\n" + open("CHANGELOG", "r").read(),
author_email='[email protected]',
url='https://github.com/PyCQA/redbaron',
install_requires=['baron>=0.7'],
extras_require={
"notebook": ["pygments"],
},
license='lgplv3+',
packages=["redbaron"],
keywords='baron fst ast refactoring',
classifiers=['Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Topic :: Software Development',
'Topic :: Software Development :: Code Generators',
'Topic :: Software Development :: Libraries',
],
)