mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-03-16 22:10:31 +00:00
9 lines
230 B
Python
Executable file
9 lines
230 B
Python
Executable file
#!/usr/bin/env python
|
|
import sys
|
|
|
|
version = sys.argv[1]
|
|
if version.startswith("http"):
|
|
print(version)
|
|
else:
|
|
next_version = version[:-1] + "%d" % (int(version[-1]) + 1)
|
|
print("Django>=%s,<%s" % (version, next_version))
|