File tree Expand file tree Collapse file tree 3 files changed +16
-17
lines changed Expand file tree Collapse file tree 3 files changed +16
-17
lines changed Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [" hatchling" , " hatch-vcs" ]
3
+ build-backend = " hatchling.build"
4
+
1
5
[project ]
2
6
name = " django-minio-storage"
3
7
description = " Django file storage using the minio python client"
@@ -27,18 +31,23 @@ maintainers = [
27
31
readme = " README.md"
28
32
dynamic = [" version" ]
29
33
30
- [build-system ]
31
- requires = [" setuptools>=77.0.3" , " setuptools_scm[toml]>=6.2" ]
32
-
33
34
[project .urls ]
34
35
Homepage = " https://github.com/py-pa/django-minio-storage"
35
36
Repository = " https://github.com/py-pa/django-minio-storage"
36
37
Documentation = " https://django-minio-storage.readthedocs.io/"
37
38
38
- [tool .setuptools_scm ]
39
- write_to = " minio_storage/version.py"
40
- write_to_template = ' __version__ = "{version}"'
41
- tag_regex = " ^v(?P<prefix>v)?(?P<version>[^\\ +]+)(?P<suffix>.*)?$"
39
+ [tool .hatch .build ]
40
+ packages = [
41
+ " minio_storage" ,
42
+ ]
43
+
44
+ [tool .hatch .version ]
45
+ source = " vcs"
46
+ tag-pattern = " ^v(?P<prefix>v)?(?P<version>[^\\ +]+)(?P<suffix>.*)?$"
47
+
48
+ [tool .hatch .build .hooks .vcs ]
49
+ version-file = " minio_storage/version.py"
50
+ template = ' __version__ = "{version}"'
42
51
43
52
[tool .ruff ]
44
53
target-version = " py39"
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments