-
Notifications
You must be signed in to change notification settings - Fork 51
/
setup.py
56 lines (44 loc) · 1.7 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
"""
Documentation
-------------
xmind2testlink is a tool to help you convert xmind file to testlink recognized xml files,
then you can import it into testlink as test suite and test cases.
For more detail, please go to: https://github.com/tobyqin/xmind2testlink
"""
from codecs import open
from os import path
from setuptools import setup, find_packages
current_dir = path.abspath(path.dirname(__file__))
long_description = __doc__
with open(path.join(current_dir, "CHANGELOG.md"), encoding="utf-8") as f:
long_description += "\n" + f.read()
classifiers = ["License :: OSI Approved :: MIT License",
"Topic :: Software Development",
"Topic :: Utilities",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X"] + [
("Programming Language :: Python :: %s" % x) for x in "2.7 3.5 3.6 3.7 3.8".split()]
def command_line():
target = "xmind2testlink.main:main"
entry_points = []
entry_points.append("xmind2testlink=%s" % target)
return entry_points
def main():
setup(
name="xmind2testlink",
description="Convert xmind to TestLink xml",
keywords="xmind testlink import converter testing testcase",
long_description=long_description,
classifiers=classifiers,
version="2.1.0",
author="Toby Qin",
author_email="[email protected]",
url="https://github.com/tobyqin/xmind2testlink",
packages=find_packages(exclude=['tests', 'tests.*']),
package_data={},
install_requires=['xmindparser'],
entry_points={"console_scripts": command_line(), },
zip_safe=False
)
if __name__ == "__main__":
main()