-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
65 lines (56 loc) · 1.93 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
'''
Setup script for RemindMe
'''
from setuptools import setup
import sys
sys.path.append("remindme/")
import metadata
# import subprocess
# console = remindme.utils.Console("setup")
# execute migrations script before installation
#try:
# console.info("invoking migrations")
# subprocess.check_call(["python", "migrations.py"])
#except subprocess.CalledProcessError as err:
# console.error("migrations exited with an error: %s" % err)
def get_requirements():
'''Return a list of requirements for installation as listed in the
requirements.txt file'''
with open("requirements.txt", "r") as reqsFile:
reqs = reqsFile.read()
return reqs.strip().split("\n")
setup(
name="remindme",
version=metadata.__version__,
author="Gocho Mugo I",
author_email="[email protected]",
author_url="https://gochomugo.github.io/",
url="https://github.com/GochoMugo/remindme",
download_url="https://github.com/GochoMugo/remindme/zipball/master",
description="Command Line Application for reminding you of something",
keywords=["remindme", "remind", "remember", "cli"],
license="MIT",
long_description=metadata.__doc__,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
],
packages=["remindme"],
install_requires=get_requirements(),
entry_points={
'console_scripts': [
'remindme = remindme.cli:run',
]
}
)