Permalink
Browse files

bashlex: add setup.py

  • Loading branch information...
1 parent 404feb2 commit bb622d44ca647255adf403097cb259f69d900ca5 @idank committed Sep 22, 2014
Showing with 37 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +33 −0 setup.py
View
@@ -4,3 +4,7 @@
.vagrant
bashlex/parser.out
bashlex/parsetab.py
+
+build/
+dist/
+bashlex.egg-info/
View
@@ -0,0 +1,33 @@
+from setuptools import setup
+
+setup(
+ name='bashlex',
+ version='0.1',
+ url='https://github.com/idank/bashlex.git',
+ license='GPLv3+',
+ author='Idan Kamara',
+ author_email='idankk86@gmail.com',
+ 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=['enum34'],
+ packages=['bashlex'],
+)

0 comments on commit bb622d4

Please sign in to comment.