@@ -7,10 +7,9 @@ requires = [
7
7
8
8
[project ]
9
9
name = " django-concurrency"
10
- version = " 2.6.0"
11
10
description = " Optimistic lock implementation for Django. Prevents users from doing concurrent editing"
12
11
readme = " README.md"
13
- license = { text = " MIT " }
12
+ license.file = " LICENSE "
14
13
15
14
authors = [
16
15
{
name =
" sax" ,
email =
" [email protected] " },
@@ -30,7 +29,12 @@ classifiers = [
30
29
" Programming Language :: Python :: 3.12" ,
31
30
" Programming Language :: Python :: 3.13" ,
32
31
]
32
+ dynamic = [
33
+ " version" ,
34
+ ]
33
35
dependencies = [ ]
36
+ urls.downloads = " https://github.com/saxix/django-concurrency"
37
+ urls.homepage = " https://github.com/saxix/django-concurrency"
34
38
35
39
[dependency-groups ]
36
40
dev = [
@@ -52,6 +56,17 @@ dj = [
52
56
" django" ,
53
57
]
54
58
59
+ [tool .hatch ]
60
+ build.hooks.vcs.version-file = " src/concurrency/version.py"
61
+ version.source = " vcs"
62
+ raw-options = { root = " ../.." }
63
+
64
+ [tool .hatch .build .targets .sdist ]
65
+ ignore-vcs = true
66
+ include = [
67
+ " src/concurrency/**/*.*" ,
68
+ ]
69
+
55
70
[tool .hatch .build .targets .wheel ]
56
71
packages = [ " src/concurrency" ]
57
72
@@ -122,7 +137,7 @@ lint.per-file-ignores."tests/**/*.py" = [
122
137
" TC" ,
123
138
" UP" ,
124
139
]
125
- lint.isort = { known-first-party = [ " admin_extra_buttons " ] }
140
+ lint.isort = { known-first-party = [ " concurrency " ] }
126
141
lint.pylint.max-args = 7
127
142
lint.pylint.max-branches = 14
128
143
lint.pylint.max-nested-blocks = 8
0 commit comments