Make dummy version string PEP 440 compliant
https://www.python.org/dev/peps/pep-0440/#version-schemeopenapi3
parent
9eb0db466c
commit
165ac6c076
2
setup.py
2
setup.py
|
|
@ -36,7 +36,7 @@ except Exception:
|
|||
import time
|
||||
timestamp_ms = int(time.time() * 1000)
|
||||
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(
|
||||
name='drf-yasg',
|
||||
|
|
|
|||
Loading…
Reference in New Issue