-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
73 lines (68 loc) · 2.73 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#
# Copyright (c) 2014 Tyurin Anton [email protected]
#
# This file is part of Tokenparser for Python.
#
# Tokenparser for Python is free software;
# you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Tokenparser for Python is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from setuptools import setup, Extension
__author__ = 'Anton Tiurin'
__copyright__ = 'Copyright 2014'
__credits__ = []
__license__ = 'LGPLv3+'
__version__ = '0.2.1'
__maintainer__ = 'Anton Tiurin'
__email__ = '[email protected]'
__status__ = 'Production'
__title__ = 'Tokenparser'
__url__ = 'https://github.com/noxiouz/python-tokenpairparser'
__description__ = 'Fast string parsing based on Boost.Spirit library'
d = 'https://github.com/noxiouz/python-tokenpairparser/archive/master.zip'
setup(
name=__title__,
version=__version__,
author=__author__,
author_email=__email__,
maintainer=__maintainer__,
maintainer_email=__email__,
url=__url__,
download_url=d,
description=__description__,
long_description=open('./README.md').read(),
packages=["Tokenparser"],
ext_modules=[Extension("Tokenparser/_tokenparser",
["src/tokenparser.cpp",
"src/module.cpp"],
include_dirs=["include"],
define_macros=[("PACKAGE_VERSION", 2)])],
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
# 'Programming Language :: Python :: 3.2',
# 'Programming Language :: Python :: 3.3',
# 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: CPython',
'Operating System :: OS Independent',
'Topic :: Utilities',
'License :: OSI Approved :: GNU Lesser General Public License'
' v3 or later (LGPLv3+)'],
platforms=['Independent'],
license=open('./LICENSE').read(),
zip_safe=False,
tests_require=open('./tests/requirements.txt').read(),
test_suite='nose.collector'
)