File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1010 .strip ()
1111)
1212
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+
1321assert "-" not in version
1422assert "." in version
1523
2129 version = version ,
2230 author = "Artyom Vancyan" ,
2331 author_email = "artyom@pysnippet.org" ,
24- description = "" ,
32+ # description="",
2533 # long_description=long_description,
2634 # long_description_content_type="text/markdown",
2735 url = "https://github.com/pysnippet/fuzzymap" ,
You can’t perform that action at this time.
0 commit comments