forked from erikbgithub/thesis-monk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·71 lines (64 loc) · 2.14 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
66
67
68
69
70
71
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# MONK Automated Testing Framework
#
# Copyright (C) 2013 DResearch Fahrzeugelektronik GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
#
import os
import sys
import monk_tf
try:
from setuptools import setup
except ImportError as error:
from distutils.core import setup
if sys.argv[-1] == 'publish':
sys.argv = [sys.argv[0], 'sdist', 'bdist_wheel', 'upload']
def read(name):
try:
with open(name, 'r') as f:
return f.read()
except IOError:
return ""
setup(
name="tmonk",
version=monk_tf.__version__,
description = "thesis build of DFE's MONK",
long_description = "if you are looking for DFE's MONK and not for the fork for my thesis, then you are wrong here - Erik Bernoth",
author = monk_tf.__author__,
author_email = "[email protected]",
url="https://github.com/erikb85/thesis-monk",
packages=[monk_tf.__title__],
license=read("LICENSE.txt"),
zip_safe=False,
install_requires = [
"pexpect >= 3.3",
"requests >= 2.2.1",
"pyte >= 0.4.8",
"configobj >=4.7.2",
],provides = [
"{} ({})".format(monk_tf.__title__, monk_tf.__version__)
],
test_suite = "nose.collector",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: Unix",
"Programming Language :: Python :: 2.7",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
"Topic :: Terminals :: Serial",
],
)