forked from ocadotechnology/codeforlife-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (54 loc) · 1.63 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
# -*- coding: utf-8 -*-
import re
import sys
from setuptools import find_packages, setup
with open("portal/__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="codeforlife-portal",
version=version,
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
packages=find_packages(),
include_package_data=True,
install_requires=[
"django==3.2.25",
"django-countries==7.3.1",
"djangorestframework==3.13.1",
"django-pipeline==2.0.8",
"django-recaptcha==2.0.6",
"pyyaml==5.4.1",
"importlib-metadata==4.13.0",
"rapid-router>=4",
"aimmo>=2",
"reportlab==3.6.13",
"django-formtools==2.2",
"django-otp==1.0.2", # we needed to fix this due to a wide ranged dependency in django-two-factor-auth
"requests==2.32.2",
"django-treebeard==4.3.1",
"django-sekizai==2.0.0",
"django-classy-tags==2.0.0",
"libsass==0.23.0",
"phonenumbers==8.12.12",
"more-itertools==8.7.0",
f"cfl-common=={version}",
"django-ratelimit==3.0.1",
"django-preventconcurrentlogins==0.8.2",
"django-csp==3.7",
"setuptools==65.5.1",
"django-import-export",
],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
],
zip_safe=False,
)