Make dummy version string PEP 440 compliant
https://www.python.org/dev/peps/pep-0440/#version-scheme
This commit is contained in:
@@ -36,7 +36,7 @@ except Exception:
|
|||||||
import time
|
import time
|
||||||
timestamp_ms = int(time.time() * 1000)
|
timestamp_ms = int(time.time() * 1000)
|
||||||
timestamp_str = hex(timestamp_ms)[2:].zfill(16)
|
timestamp_str = hex(timestamp_ms)[2:].zfill(16)
|
||||||
version_kwargs = {'version': '0.0.0.dummy+' + timestamp_str}
|
version_kwargs = {'version': '0.0.0rc0+dummy.' + timestamp_str}
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='drf-yasg',
|
name='drf-yasg',
|
||||||
|
|||||||
Reference in New Issue
Block a user