-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathsetup.py
43 lines (38 loc) · 1.01 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
# -*- coding: utf-8 -*-
import re
import sys
from setuptools import find_packages, setup
with open("game/__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="rapid-router",
packages=find_packages(),
include_package_data=True,
install_requires=[
"django>=1.11.24, <= 2.0.0",
"django-autoconfig >= 0.3.6, < 1.0.0",
"django-js-reverse==0.9.1",
"django-foundation-statics==5.4.7",
"django-pipeline==1.6.14",
"djangorestframework>=3.8.2, <3.9.0",
"more-itertools==5.0.0",
"pyhamcrest==1.8.3",
"libsass",
"future",
"cfl-common",
],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Framework :: Django",
],
version=version,
zip_safe=False,
)