Skip to content

Commit 6a13413

Browse files
authored
setup.py: some minor cleaning up.
2 parents bb95e1f + 3335962 commit 6a13413

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
import datetime
1717
from skbuild import setup
1818

19-
year = datetime.datetime.now().year
20-
month = datetime.datetime.now().month
21-
day = datetime.datetime.now().day
19+
now = datetime.datetime.now()
20+
year = now.year
21+
month = now.month
22+
day = now.day
2223

2324
setup(
2425
name="libopencor",

0 commit comments

Comments
 (0)