11# https://packaging.python.org/en/latest/tutorials/packaging-projects/
2- # https://hatch.pypa.io/latest/config/build/
32
43[project ]
54name = " tutor-contrib-notifications"
@@ -8,6 +7,7 @@ authors = [
87 { name = " Ty Hob" },
98 {
name =
" OpenCraft" ,
email =
" [email protected] " },
109]
10+ dynamic = [" version" ]
1111license = { text = " AGPL-3.0-only" }
1212maintainers = [
1313 {
name =
" OpenCraft" ,
email =
" [email protected] " },
@@ -29,40 +29,25 @@ classifiers = [
2929
3030]
3131dependencies = [
32- " tutor>=20.0.0,<21.0.0 " ,
33- " tutor-mfe>=20.0.0,<21.0.0 " ,
32+ " tutor @ git+https://github.com/overhangio/tutor.git@ulmo " ,
33+ " tutor-mfe @ git+https://github.com/overhangio/tutor-mfe.git " ,
3434]
3535
36- # These fields will be set by hatch_build.py
37- dynamic = [" version" ]
38-
3936[project .optional-dependencies ]
4037dev = [
41- " tutor[dev]>=20.0.0,<21.0.0 " ,
38+ " tutor[dev] @ git+https://github.com/overhangio/tutor.git@ulmo " ,
4239 " ruff" ,
4340]
4441
45- [tool .hatch .version ]
46- path = " tutornotifications/__about__.py"
47-
4842# https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels
4943[project .urls ]
5044Documentation = " https://github.com/openedx/tutor-contrib-notifications#readme"
5145Issues = " https://github.com/openedx/tutor-contrib-notifications/issues"
5246Source = " https://github.com/openedx/tutor-contrib-notifications"
5347
54- [build-system ]
55- requires = [" hatchling" ]
56- build-backend = " hatchling.build"
57-
58- [tool .hatch .build .targets .wheel ]
59- packages = [" tutornotifications" ]
60-
61- [tool .hatch .build .targets .sdist ]
62- # Disable strict naming, otherwise twine is not able to detect name/version
63- strict-naming = false
64- include = [ " /tutornotifications" ]
65- exclude = [" tests*" ]
6648
6749[project .entry-points ."tutor .plugin .v1" ]
6850notifications = " tutornotifications.plugin"
51+
52+ [tool .setuptools .dynamic ]
53+ version = {attr = " tutornotifications.__about__.__version__" }
0 commit comments