setuptools-git-versioning 2.0.0__tar.gz → 2.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (16) hide show
  1. {setuptools-git-versioning-2.0.0/setuptools_git_versioning.egg-info → setuptools_git_versioning-2.1.0}/PKG-INFO +16 -3
  2. setuptools_git_versioning-2.1.0/requirements.txt +3 -0
  3. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0}/setup.py +2 -1
  4. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0/setuptools_git_versioning.egg-info}/PKG-INFO +16 -3
  5. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0}/setuptools_git_versioning.egg-info/requires.txt +1 -1
  6. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0}/setuptools_git_versioning.py +3 -2
  7. setuptools-git-versioning-2.0.0/requirements.txt +0 -3
  8. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0}/LICENSE +0 -0
  9. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0}/MANIFEST.in +0 -0
  10. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0}/README.rst +0 -0
  11. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0}/setup.cfg +0 -0
  12. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0}/setuptools_git_versioning.egg-info/SOURCES.txt +0 -0
  13. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0}/setuptools_git_versioning.egg-info/dependency_links.txt +0 -0
  14. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0}/setuptools_git_versioning.egg-info/entry_points.txt +0 -0
  15. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0}/setuptools_git_versioning.egg-info/not-zip-safe +0 -0
  16. {setuptools-git-versioning-2.0.0 → setuptools_git_versioning-2.1.0}/setuptools_git_versioning.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: setuptools-git-versioning
3
- Version: 2.0.0
3
+ Version: 2.1.0
4
4
  Summary: Use git repo data for building a version number according PEP-440
5
5
  Home-page: https://setuptools-git-versioning.readthedocs.io
6
6
  Author: dolfinus
@@ -21,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.9
21
21
  Classifier: Programming Language :: Python :: 3.10
22
22
  Classifier: Programming Language :: Python :: 3.11
23
23
  Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
24
25
  Classifier: License :: OSI Approved :: MIT License
25
26
  Classifier: Operating System :: OS Independent
26
27
  Requires-Python: >=3.7
@@ -28,7 +29,19 @@ Description-Content-Type: text/x-rst
28
29
  License-File: LICENSE
29
30
  Requires-Dist: packaging
30
31
  Requires-Dist: setuptools
31
- Requires-Dist: toml>=0.10.2; python_version < "3.11"
32
+ Requires-Dist: tomli>=2.0.1; python_version < "3.11"
33
+ Dynamic: author
34
+ Dynamic: author-email
35
+ Dynamic: classifier
36
+ Dynamic: description
37
+ Dynamic: description-content-type
38
+ Dynamic: home-page
39
+ Dynamic: keywords
40
+ Dynamic: license
41
+ Dynamic: project-url
42
+ Dynamic: requires-dist
43
+ Dynamic: requires-python
44
+ Dynamic: summary
32
45
 
33
46
  *************************
34
47
  setuptools-git-versioning
@@ -0,0 +1,3 @@
1
+ packaging
2
+ setuptools
3
+ tomli>=2.0.1; python_version<"3.11"
@@ -19,7 +19,7 @@ setup(
19
19
  name="setuptools-git-versioning",
20
20
  # +local version is not allowed in PyPI
21
21
  # https://github.com/pypa/pypi-legacy/issues/731#issuecomment-345461596
22
- version='2.0.0',
22
+ version='2.1.0',
23
23
  author="dolfinus",
24
24
  author_email="martinov.m.s.8@gmail.com",
25
25
  description="Use git repo data for building a version number according PEP-440",
@@ -39,6 +39,7 @@ setup(
39
39
  "Programming Language :: Python :: 3.10",
40
40
  "Programming Language :: Python :: 3.11",
41
41
  "Programming Language :: Python :: 3.12",
42
+ "Programming Language :: Python :: 3.13",
42
43
  "License :: OSI Approved :: MIT License",
43
44
  "Operating System :: OS Independent",
44
45
  ],
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: setuptools-git-versioning
3
- Version: 2.0.0
3
+ Version: 2.1.0
4
4
  Summary: Use git repo data for building a version number according PEP-440
5
5
  Home-page: https://setuptools-git-versioning.readthedocs.io
6
6
  Author: dolfinus
@@ -21,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.9
21
21
  Classifier: Programming Language :: Python :: 3.10
22
22
  Classifier: Programming Language :: Python :: 3.11
23
23
  Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
24
25
  Classifier: License :: OSI Approved :: MIT License
25
26
  Classifier: Operating System :: OS Independent
26
27
  Requires-Python: >=3.7
@@ -28,7 +29,19 @@ Description-Content-Type: text/x-rst
28
29
  License-File: LICENSE
29
30
  Requires-Dist: packaging
30
31
  Requires-Dist: setuptools
31
- Requires-Dist: toml>=0.10.2; python_version < "3.11"
32
+ Requires-Dist: tomli>=2.0.1; python_version < "3.11"
33
+ Dynamic: author
34
+ Dynamic: author-email
35
+ Dynamic: classifier
36
+ Dynamic: description
37
+ Dynamic: description-content-type
38
+ Dynamic: home-page
39
+ Dynamic: keywords
40
+ Dynamic: license
41
+ Dynamic: project-url
42
+ Dynamic: requires-dist
43
+ Dynamic: requires-python
44
+ Dynamic: summary
32
45
 
33
46
  *************************
34
47
  setuptools-git-versioning
@@ -2,4 +2,4 @@ packaging
2
2
  setuptools
3
3
 
4
4
  [:python_version < "3.11"]
5
- toml>=0.10.2
5
+ tomli>=2.0.1
@@ -181,9 +181,10 @@ def _read_toml(name_or_path: str | os.PathLike = "pyproject.toml", root: str | o
181
181
  with file_path.open("rb") as file:
182
182
  parsed_file = tomllib.load(file)
183
183
  except (ImportError, NameError):
184
- import toml # type: ignore[no-redef]
184
+ import tomli
185
185
 
186
- parsed_file = toml.load(file_path)
186
+ with file_path.open("rb") as file:
187
+ parsed_file = tomli.load(file)
187
188
 
188
189
  result = parsed_file.get("tool", {}).get("setuptools-git-versioning", None)
189
190
  if result:
@@ -1,3 +0,0 @@
1
- packaging
2
- setuptools
3
- toml>=0.10.2; python_version<"3.11"