-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
42 lines (39 loc) · 1.16 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
from setuptools import setup, find_packages
# It's annoying to track dependencies inline with install_requires
dependencies = [
"moecache>=1,<2",
"pymongo>=2,<4",
"webob>=1.8.6",
"pyyaml>=3.12",
"tenacity>=5",
"setuptools",
"jsonschema",
]
scm_version_options = {
'write_to': 'src/rse/version.py',
'fallback_version': 'UNKNOWN',
}
setup(
name="rse",
description="Real Simple Events",
url="https://github.com/rackerlabs/rse/",
classifiers=["Private :: Do Not Upload"],
maintainer="ATL Devops",
maintainer_email="[email protected]",
# The exclude below is a bit of prophylactic. If someone puts a tests dir
# under src in future, it won't get included in the package (note: don't do
# that).
packages=find_packages("src", exclude=['tests*', 'rse/tests']),
package_dir={'': "src"},
include_package_data=True,
install_requires=dependencies,
setup_requires=['setuptools_scm>=3.3.0'],
use_scm_version=scm_version_options,
tests_require=['tox'],
zip_safe=True,
entry_points={
'console_scripts': [
'rse = rse.cli:main'
]
},
)