forked from andychase/reparse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (33 loc) · 1.17 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
#!/usr/bin/env python
import os
from setuptools import setup
def readme_or_docstring():
path = os.path.join(os.path.dirname(__file__), 'readme.rst')
if os.path.isfile(path):
return open(path).read()
else:
import reparse
return reparse.__doc__
setup(name='Reparse',
version='2.01',
description='Sane Regular Expression based parsers',
long_description=readme_or_docstring(),
author='Andy Chase',
author_email='[email protected]',
url='http://github.com/andychase/reparse',
download_url="https://github.com/andychase/reparse/archive/master.zip",
license="MIT",
packages=['reparse'],
install_requires=["regex"],
classifiers=(
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing'
),
)