-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (21 loc) · 734 Bytes
/
setup.py
File metadata and controls
24 lines (21 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python2.7
import os
os.system(""" cat WorktimeLogger.py | sed -e "s/WL_VERSION=\".*\"/WL_VERSION='`git describe --tags --always`'/" > WorktimeLogger.py """)
try:
from setuptools import setup
except ImportError:
print "Cannot find setuptools; dependencies will not be installed."
from distutils.core import setup
setup(
name = "WorktimeLogger",
version = "1.0.0",
description = "Work time logger",
author = "daneos",
author_email= "daneos@daneos.com",
url = "https://github.com/daneos/WorktimeLogger",
packages = ["WorktimeLogger"],
package_dir = {"WorktimeLogger": "."},
package_data= {"WorktimeLogger" : [ "ui/*.ui", "icons/*.png", "*.sqlite" ]},
scripts = ["WorktimeLogger"],
zip_safe = False
)