forked from selfspy/selfspy
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
30 lines (25 loc) · 964 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
import os
import platform
from setuptools import setup
if platform.system() == 'Darwin':
requisites = 'osx-requirements.txt'
# needed for installing pycrypto
os.environ["CFLAGS"] = "-I/usr/local/include -L/usr/local/lib"
elif platform.system() == "Windows":
requisites = "win-requirements.txt"
else:
requisites = 'requirements.txt'
with open(os.path.join(os.path.dirname(__file__), requisites)) as f:
requires = list(f.readlines())
print('"%s"' % requires)
setup(name="selfspy",
version='0.3.0',
packages=['selfspy', 'selfspy.modules'],
author="David Fendrich",
description=''.join("""
Log everything you do on the computer, for statistics,
future reference and all-around fun!
""".strip().split('\n')),
install_requires=requires,
entry_points=dict(console_scripts=['selfspy=selfspy.selfspy:main',
'selfstats=selfspy.stats:main']))