forked from PyCQA/baron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (37 loc) · 1.42 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
41
42
43
44
#!/usr/bin/python
# -*- coding:Utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert_file
def read_md(f):
return convert_file(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
def read_md(f):
return open(f, 'r').read()
setup(name='baron',
version='0.9',
description='Full Syntax Tree for python to make writing refactoring code a realist 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/baron',
install_requires=['rply'],
packages=['baron'],
license='lgplv3+',
scripts=[],
keywords='ast fst refactoring syntax tree',
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.2',
'Programming Language :: Python :: 3.3',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Topic :: Software Development',
'Topic :: Software Development :: Code Generators',
'Topic :: Software Development :: Libraries',
],
)