-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
49 lines (40 loc) · 1.4 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 re
from setuptools import setup, find_packages
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)
with open("README.rst") as readme_file:
readme = readme_file.read()
setup(
name="brew-view",
version=find_version("brew_view/_version.py"),
description="Beergarden Frontend",
long_description=readme,
url="https://beer-garden.io/",
author="The beer-garden Team",
author_email=" ",
license="MIT",
packages=(find_packages(exclude=["test", "test.*"])),
include_package_data=True,
install_requires=[
"apispec==0.38.0",
"apscheduler==3.5.1",
"bg-utils>=2.4.10",
"prometheus_client==0.3.1",
"pymongo<4",
"pyyaml<6",
"tornado==5.1",
],
extras_require={':python_version=="2.7"': ["futures>=3.1.1"]},
entry_points={
"console_scripts": [
"generate_brew_view_config=brew_view.__main__:generate_config",
"migrate_brew_view_config=brew_view.__main__:migrate_config",
"generate_brew_view_log_config=brew_view.__main__:generate_logging_config",
"brew-view=brew_view.__main__:main",
]
},
)