forked from selfspy/selfspy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (27 loc) · 1016 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import os
import platform
# dep_link = []
if platform.system() == 'Darwin':
req_file = 'osx-requirements.txt'
elif platform.system() == "Windows":
req_file = "win-requirements.txt"
else:
req_file = 'requirements.txt'
#dep_link = ['http://python-xlib.svn.sourceforge.net/viewvc/python-xlib/tags/xlib_0_15rc1/?view=tar#egg=pyxlib']
with open(os.path.join(os.path.dirname(__file__), req_file)) as f:
requires = list(f.readlines())
print '"%s"' % requires
from setuptools import setup
setup(name="selfspy",
version='0.3.0',
packages=['selfspy'],
author="David Fendrich",
# author_email='',
description=''.join("""
Log everything you do on the computer, for statistics,
future reference and all-around fun!
""".strip().split('\n')),
install_requires=requires,
#dependency_links=dep_link,
entry_points=dict(console_scripts=['selfspy=selfspy:main',
'selfstats=selfspy.stats:main']))