We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24a8f40 commit 5a18be8Copy full SHA for 5a18be8
setup.py
@@ -10,6 +10,14 @@
10
.strip()
11
)
12
13
+if "-" in version:
14
+ # when not on tag, git describe outputs: "v1.0.0-4-g24a8f40"
15
+ # pip has gotten strict with version numbers
16
+ # so change it to: "1.0.0+4.git.g24a8f40"
17
+ # See: https://peps.python.org/pep-0440/#local-version-segments
18
+ v, i, s = version.split("-")
19
+ version = v + "+" + i + ".git." + s
20
+
21
assert "-" not in version
22
assert "." in version
23
@@ -21,7 +29,7 @@
29
version=version,
30
author="Artyom Vancyan",
31
author_email="[email protected]",
24
- description="",
32
+ # description="",
25
33
# long_description=long_description,
26
34
# long_description_content_type="text/markdown",
27
35
url="https://github.com/pysnippet/fuzzymap",
0 commit comments