-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
64 lines (56 loc) · 2.03 KB
/
Copy pathsetup.py
File metadata and controls
64 lines (56 loc) · 2.03 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
# Copyright 2019-2020 by Wenfeng Gao, MGLAND animation studio. All rights reserved.
# This file is part of IUTest, and is released under the "MIT License Agreement".
# Please see the LICENSE file that should have been included as part of this package.
from setuptools import setup
def readme():
replacement = {
"./iutest/icons/iutest.svg": "http://mgland.com/opensource/iutest/iutest.svg",
"./iutest/docs/images/iutest-0.1.5.gif": "http://mgland.com/opensource/iutest/iutest-0.1.5.gif",
}
with open("README.md") as f:
longDesc = f.read()
for src, dst in replacement.items():
longDesc = longDesc.replace(src, dst)
return longDesc
def version():
with open("iutest/_version.py") as f:
return f.readlines()[-1].split()[-1].strip("\"'")
setup(
name="iutest",
version=version(),
description="An interactive python test runner supports various test frameworks.",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/mgland/iutest",
author="Miguel Gao",
author_email="opensourcemg@gmail.com",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Framework :: Pytest",
"Topic :: Software Development",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Unit",
"Intended Audience :: Developers",
],
packages=[
"iutest",
"iutest.core",
"iutest.core.runners",
"iutest.dcc",
"iutest.docs",
"iutest.plugins",
"iutest.plugins.nose2plugins",
"iutest.plugins.pyunitextentions",
"iutest.tests",
"iutest.tests.empty",
"iutest.tests.iutests",
"iutest.ui",
],
include_package_data=True,
install_requires=[],
entry_points={"console_scripts": ["iutest=iutest.cli:main"]},
)