-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
59 lines (51 loc) · 1.93 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
import re
from setuptools import setup, find_packages
with open("README.rst") as readme_file:
readme = readme_file.read()
def find_version(version_file):
version_line = open(version_file, "rt").read()
match_object = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_line, re.M)
if not match_object:
raise RuntimeError("Unable to find version string in %s" % version_file)
return match_object.group(1)
setup(
name="bartender",
version=find_version("bartender/_version.py"),
description="Beergarden Backend",
long_description=readme,
author="The beer-garden Team",
author_email="bartender@beer-garden.io",
url="https://beer-garden.io",
packages=(find_packages(exclude=["test", "test.*"])),
license="MIT",
keywords="bartender beer beer-garden beergarden",
install_requires=["bg-utils>=2.4.4", "pyrabbit2==1.0.7", "pymongo<4"],
extras_require={
':python_version=="2.7"': [
"future>=0.16.0",
"futures>=3.1.1",
"subprocess32>=3.2.7",
]
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
entry_points={
"console_scripts": [
"generate_bartender_config=bartender.__main__:generate_config",
"migrate_bartender_config=bartender.__main__:migrate_config",
"generate_bartender_log_config=bartender.__main__:generate_logging_config",
"bartender=bartender.__main__:main",
]
},
)