forked from openfun/richie
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
140 lines (131 loc) · 3.36 KB
/
pyproject.toml
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
#
# Richie package
#
[build-system]
requires = ["setuptools>=60", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "richie"
dynamic = ["version"]
description = "A CMS to build learning portals for open education"
readme = "README.md"
authors = [{ "name" = "Open FUN (France Université Numérique)", "email" = "[email protected]" }]
license = { file = "LICENSE" }
keywords = ["Django", "Django-CMS", "Open edX"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 4",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.8"
dependencies = [
"arrow",
"Django<5",
"djangocms-file",
"djangocms-googlemap",
"djangocms-link",
"djangocms-picture",
"djangocms-text-ckeditor",
"djangocms-video",
"djangorestframework",
"django-autocomplete-light==3.11.0",
"django-cms>=3.11.0,<4.0.0",
"django-parler>=2.3",
"django-redis>=4.11.0",
"django-treebeard",
"dj-pagination",
"easy_thumbnails[svg]>=2.8",
"elasticsearch>=6.0.0,<7.0.0",
"exrex==0.11.0",
"importlib-metadata",
"oauthlib==3.2.2",
"requests==2.32.3",
]
[project.urls]
"Bug Tracker" = "https://github.com/openfun/richie/issues/new"
"Changelog" = "https://github.com/openfun/richie/blob/master/CHANGELOG.md"
"Homepage" = "https://github.com/openfun/richie"
"Repository" = "https://github.com/openfun/richie"
"Documentation" = "https://richie.education/"
"Demonstration website" = "https://demo.richie.education/"
[tool.setuptools]
packages = { find = { where = ["src"], exclude = ["tests"] } }
zip-safe = true
[tool.distutils.bdist_wheel]
universal = true
[project.optional-dependencies]
dev = [
"bandit==1.7.9",
"black==24.8.0",
"pyRdfa3==3.6.4",
"cssselect==1.2.0",
"factory-boy==3.3.1",
"flake8==7.1.1",
"flake8-pyproject==1.2.3",
"htmlmin==0.1.12",
"ipdb==0.13.13",
"ipython==8.26.0",
"isort==5.13.2",
"lxml==5.3.0",
"msgpack==1.0.8",
"mysqlclient==2.2.4",
"pylint==3.2.6",
"pylint-django==2.5.5",
"pytest==8.3.2",
"pytest-cov==5.0.0",
"pytest-django==4.8.0",
"responses==0.25.3",
]
ci = [
"twine==5.1.1",
]
sandbox = [
"django-configurations==2.5.1",
"dockerflow==2024.4.2",
"factory-boy==3.3.1",
"gunicorn==23.0.0",
"psycopg2-binary==2.9.9",
"sentry-sdk==2.13.0",
]
[tool.flake8]
max-line-length = 99
exclude = [
".git",
".venv",
"build",
"venv",
"__pycache__",
"node_modules",
"*/migrations/*",
]
[tool.isort]
profile = "black"
known_django = "django"
known_richie = "richie"
include_trailing_comma = true
line_length = 88
multi_line_output = 3
sections = ["FUTURE","STDLIB","DJANGO","THIRDPARTY","RICHIE","FIRSTPARTY","LOCALFOLDER"]
skip_glob = "src/frontend/node_modules/**/*,venv"
[tool.pytest.ini_options]
addopts = "-v --cov-report term-missing"
python_files = [
"test_*.py",
"tests.py"
]
testpaths = [
"tests",
]
filterwarnings = [
"ignore:::(?!(tests|richie))",
]
[tool.setuptools_scm]
local_scheme = "no-local-version"