-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
90 lines (86 loc) · 1.99 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
from setuptools import setup
import os
# File used to export Quay modules to be used in other projects.
# Current modules exported to support reuse of database models.
# Modules and dependencies are exported via whitelist - only the
# required modules are exported for efficiency.
# The only Quay dependencies that will be exported with package
packages = [
"alembic",
"Authlib",
"bitmath",
"boto3",
"bcrypt",
"botocore",
"cachetools",
"cryptography",
"Deprecated",
"elasticsearch",
"Flask",
"hashids",
"jsonschema",
"keystoneauth1",
"peewee",
"pymemcache",
"PyYAML",
"redis",
"rehash",
"six",
"SQLAlchemy",
"stripe",
"tldextract",
"toposort",
"tzlocal",
"beautifulsoup4",
"bintrees",
"geoip2",
"gevent",
"greenlet",
"gunicorn",
"Jinja2",
"mixpanel",
"netaddr",
"psutil",
"PyJWT",
"pyOpenSSL",
"raven",
"requests",
"Werkzeug",
"xhtml2pdf",
]
# Pull dependency versions from requirements.txt
# Exclude dependencies built directly from source, none are required
quay_root = os.path.dirname(os.path.realpath(__file__))
requirementPath = quay_root + "/requirements.txt"
install_requires = []
if os.path.isfile(requirementPath):
with open(requirementPath) as f:
for line in f.read().splitlines():
if not line.startswith("git") and line.split("==")[0] in packages:
install_requires.append(line)
setup(
name="quay",
version="3.7",
description="Quay Modules",
author="Quay Team",
author_email="",
url="https://github.com/quay/quay",
packages=[
"features",
"auth",
"data",
"data.model",
"data.model.oci",
"util",
"util.security",
"util.metrics",
"image",
"image.docker",
"image.oci",
"image.docker.schema2",
"image.shared",
"digest",
"oauth",
],
install_requires=install_requires,
)