forked from ceph/remoto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (41 loc) · 1.41 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
import os
import re
from vendor import vendorize, clean_vendor
module_file = open("remoto/__init__.py").read()
metadata = dict(re.findall(r"__([a-z]+)__\s*=\s*['\"]([^'\"]*)['\"]", module_file))
long_description = open('README.rst').read()
from setuptools import setup, find_packages
#
# Add libraries that are not part of install_requires but only if we really
# want to, specified by the environment flag
#
if os.environ.get('REMOTO_NO_VENDOR'):
clean_vendor('execnet')
else:
vendorize([
('execnet', '1.2post2', 'https://github.com/alfredodeza/execnet'),
])
setup(
name = 'remoto',
description = 'Execute remote commands or processes.',
packages = find_packages(),
author = 'Alfredo Deza',
author_email = 'contact [at] deza.pe',
version = metadata['version'],
url = 'http://github.com/alfredodeza/remoto',
license = "MIT",
zip_safe = False,
keywords = "remote, commands, unix, ssh, socket, execute, terminal",
long_description = long_description,
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Utilities',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
]
)