-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
55 lines (48 loc) · 1.5 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
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.0.1'
setup(
name="procwrap",
version=version,
description="wrapper for basescripts' and funcservers'",
long_description=long_description,
keywords='procwrap basescript funcserver deep-compute',
author='Deep Compute, LLC',
author_email="contact@deepcompute.com",
url="https://github.com/deep-compute/procwrap",
download_url="https://github.com/deep-compute/procwrap/tarball/%s" % version,
license='MIT License',
install_requires=[
"basescript",
"requests",
],
package_dir={'procwrap': 'procwrap'},
packages=find_packages('.'),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 2.7",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
],
entry_points={
"console_scripts": [
"procwrap = procwrap.procwrap:main",
],
}
)