-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
49 lines (44 loc) · 1.19 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
import os
import sys
from setuptools import find_packages, setup
version = "0.1.6.dev0"
def readfile(name):
with open(os.path.join(os.path.dirname(__file__), name)) as f:
out = f.read()
return out
desc = '\n'.join([readfile('README.rst'), readfile('CHANGELOG.rst')])
setup(
name="rulez",
version=version,
description="Simple business rules engine configurable using YAML/JSON",
long_description=desc,
# Get strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[],
keywords="business-rules rules reg",
author="Izhar Firdaus",
author_email="[email protected]",
url="http://github.com/abyres/",
license="Apache-2.0",
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
include_package_data=True,
zip_safe=False,
install_requires=[
"reg",
"dectate",
"boolean.py",
"jsonpath_ng",
"sqlalchemy",
"python-dateutil",
# -*- Extra requirements: -*-
],
extras_require={
"test": [
"mirakuru",
"elasticsearch>7.0.0,<8.0.0",
]
},
entry_points="""
# -*- Entry points: -*-
""",
)