forked from eerimoq/textparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·29 lines (24 loc) · 837 Bytes
/
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
#!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
import re
def find_version():
return re.search(r"^__version__ = '(.*)'$",
open('textparser.py', 'r').read(),
re.MULTILINE).group(1)
setup(name='textparser',
version=find_version(),
description='Text parser.',
long_description=open('README.rst', 'r').read(),
author='Erik Moqvist',
author_email='erik.moqvist@gmail.com',
license='MIT',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
keywords=['parser', 'parsing'],
url='https://github.com/eerimoq/textparser',
py_modules=['textparser'],
test_suite="tests")