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+
15[project ]
26name = " django-minio-storage"
37description = " Django file storage using the minio python client"
@@ -27,18 +31,23 @@ maintainers = [
2731readme = " README.md"
2832dynamic = [" version" ]
2933
30- [build-system ]
31- requires = [" setuptools>=77.0.3" , " setuptools_scm[toml]>=6.2" ]
32-
3334[project .urls ]
3435Homepage = " https://github.com/py-pa/django-minio-storage"
3536Repository = " https://github.com/py-pa/django-minio-storage"
3637Documentation = " https://django-minio-storage.readthedocs.io/"
3738
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}"'
4251
4352[tool .ruff ]
4453target-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