forked from idank/bashlex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (37 loc) · 1.31 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
try:
from setuptools import setup #Py2
except ImportError:
from distutils.core import setup #Py3
import sys
install_requires = []
if sys.version_info < (3, 4):
install_requires.append('enum34')
setup(
name='bashlex',
version='0.13',
url='https://github.com/idank/bashlex.git',
license='GPLv3+',
author='Idan Kamara',
author_email='[email protected]',
description='Python parser for bash',
long_description='''bashlex is a Python port of the parser used internally by GNU bash.
For the most part it's transliterated from C, the major differences are:
1. it does not execute anything
2. it is reentrant
3. it generates a complete AST
See https://github.com/idank/bashlex/blob/master/README.md for more info.''',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: System Shells',
'Topic :: Text Processing',
],
install_requires=install_requires,
packages=['bashlex'],
data_files = [('', ['LICENSE'])]
)