-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsetup.py
More file actions
69 lines (64 loc) · 2.2 KB
/
setup.py
File metadata and controls
69 lines (64 loc) · 2.2 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from setuptools import setup
from sys import version_info
def get_version(rel_path):
for line in open(rel_path).readlines():
if line.startswith('__version__'):
delim = '"' if '"' in line else "'"
return line.split(delim)[1]
else:
raise RuntimeError("Unable to find version string.")
VERSION=get_version("citizenshell/__init__.py")
REQUIREMENTS = [
'termcolor>=1.1.0',
'paramiko>=2.4.0',
'uritools>=2.1.0',
'pyserial>=3.4',
'scp>=0.10.2',
'backports.tempfile>=0.4.0'
]
if version_info.major == 2:
REQUIREMENTS += [
'bcrypt==3.1.7'
]
setup(
name='citizenshell',
version=VERSION,
packages=['citizenshell'],
package_data={ "citizenshell": [ "VERSION" ]},
url='https://github.com/meuter/citizenshell',
license='MIT',
author='Cedric Meuter',
author_email='cedric.meuter@gmail.com',
description='Interact with shell locally or over different connection types (telnet, ssh, serial, adb)',
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
keywords=["shell", "telnet", "adb", "ssh", "serial"],
download_url="https://github.com/meuter/citizenshell/archive/" + VERSION + ".tar.gz",
install_requires=[
'termcolor>=1.1.0',
'paramiko>=2.4.0',
'uritools>=2.1.0',
'pyserial>=3.4',
'scp>=0.10.2',
'backports.tempfile>=0.4.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Utilities',
],
)