forked from PyCQA/redbaron
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (33 loc) · 1.51 KB
/
setup.py
File metadata and controls
37 lines (33 loc) · 1.51 KB
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
#!/usr/bin/python
# -*- coding:Utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(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.5.1',
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='cortex@worlddomination.be',
url='https://github.com/Psycojoker/redbaron',
install_requires=['baron>=0.6.1', 'pygments'],
license= 'lgplv3+',
py_modules=["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',
],
)