-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
52 lines (48 loc) · 1.67 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
import os
import re
from setuptools import setup
def get_version(package):
"""
Return package version as listed in `__version__` in `init.py`.
"""
init_py = open(os.path.join(package, '__init__.py')).read()
return re.search("^__version__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)
setup(
name='plyse',
setup_requires=[
'pyparsing',
],
install_requires=[
'pyparsing',
],
version=get_version('plyse'),
url='https://github.com/sebastiandev/plyse',
author='Sebastian Packmann',
author_email='[email protected]',
description=('A fully extensible query parser inspired on the lucene and gmail sintax'),
license='MIT',
package_dir={
'plyse': 'plyse',
'plyse.expressions': 'plyse/expressions',
'plyse.tests': 'plyse/tests',
},
packages=['plyse', 'plyse.expressions', 'plyse.tests'],
test_suite='tests',
python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*',
keywords="search query parser lucene gmail syntax grammar",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)