Skip to content

Commit 154ff83

Browse files
authored
Update setup.py
1 parent 7f2c5ba commit 154ff83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
import os
33
from setuptools import setup, find_packages
44
import subprocess
5+
import datetime
56

67
here = os.path.abspath(os.path.dirname(__file__))
78

89
requires = ["Django", "django-import-export", "django-author"]
910

1011
version = subprocess.check_output(
1112
["git", "describe", "--abbrev=0", "--tags", "--always"]
12-
).decode("utf-8").strip()
13+
).decode("utf-8").strip() + ".dev" + datetime.datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
1314

1415
setup(
1516
name="django-import-export-celery",

0 commit comments

Comments
 (0)