forked from deep-compute/basescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (44 loc) · 1.4 KB
/
setup.py
File metadata and controls
51 lines (44 loc) · 1.4 KB
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
from setuptools import setup, find_packages
import os
HERE = os.path.abspath(os.path.dirname(__file__))
def get_long_description():
dirs = [ HERE ]
if os.getenv("TRAVIS"):
dirs.append(os.getenv("TRAVIS_BUILD_DIR"))
long_description = ""
for d in dirs:
rst_readme = os.path.join(d, "README.rst")
if not os.path.exists(rst_readme):
continue
with open(rst_readme) as fp:
long_description = fp.read()
return long_description
return long_description
long_description = get_long_description()
version = '0.1.17'
setup(
name="basescript",
version=version,
description="Basic infrastructure for writing scripts",
long_description=long_description,
keywords='basescript',
author='Deep Compute, LLC',
author_email="contact@deepcompute.com",
url="https://github.com/deep-compute/basescript",
download_url="https://github.com/deep-compute/basescript/tarball/%s" % version,
license='MIT License',
install_requires=[
"pytz",
"structlog",
"colorama",
],
package_dir={'basescript': 'basescript'},
packages=find_packages('.', exclude=['tests*']),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 2.7",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
]
)