forked from ocadotechnology/aimmo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (33 loc) · 909 Bytes
/
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
# -*- coding: utf-8 -*-
import re
import sys
from setuptools import find_packages, setup
with open("aimmo/__init__.py", "r") as fd:
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE
).group(1)
try:
from semantic_release import setup_hook
setup_hook(sys.argv)
except ImportError:
pass
setup(
name="aimmo",
packages=find_packages(exclude=["*.tests", "*.tests.*"]),
package_dir={"aimmo": "aimmo"},
include_package_data=True,
install_requires=[
"cfl-common",
"django==3.2.25",
"django-csp==3.7",
"django-js-reverse==0.9.1",
"djangorestframework==3.13.1",
"eventlet==0.31.0",
"hypothesis==5.41.3",
"kubernetes==26.1.0",
"requests==2.32.2",
],
tests_require=["docker >= 3.5, < 3.6", "PyYAML == 5.4"],
version=version,
zip_safe=False,
)