-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
86 lines (77 loc) · 2.92 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#!/usr/bin/env python
"""
setup.py: Package setup file.
Created by Perry Naseck on 2022-05-23.
This file is part of the https://github.com/ABTech/twiki-to-mediawiki-xml
Copyright (C) 2022-present AB Tech, Carnegie Mellon University
Copyright (C) 2022 Perry Naseck (git@perrynaseck.com)
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 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
import pathlib
from setuptools import setup, find_packages
here = pathlib.Path(__file__).parent.resolve()
long_description = (here / 'README.md').read_text(encoding='utf-8')
setup(
name="twiki-to-mediawiki-xml",
description="TWiki to MediaWiki XML conversion tool",
long_description=long_description,
long_description_content_type='text/markdown',
license='GPLv3',
author="AB Tech",
author_email="abtech@andrew.cmu.edu",
python_requires='>=3.8, <4',
packages=find_packages(),
platforms=["any"],
url="https://github.com/ABTech/twiki-to-mediawiki-xml",
project_urls={
'Bug Reports': 'https://github.com/ABTech/twiki-to-mediawiki-xml/issues',
'Source': 'https://github.com/ABTech/twiki-to-mediawiki-xml',
},
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: Console',
'Framework :: Robot Framework',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Operating System :: OS Independent',
'Topic :: Communications',
'Topic :: System :: Systems Administration',
'Topic :: Utilities'
],
keywords='twiki mediawiki xml wiki migrate migration convert tool utility python perl python3 wikitext',
entry_points = {
'console_scripts': [
'twiki-to-mediawiki-xml=twiki_to_mediawiki_xml.scripts.twiki_to_mediawiki_xml:main'
],
},
install_requires=[
'deepdiff>=5,<6',
'editrcs>=0.5.3,<6',
'lxml>=4,<5',
'setuptools>=62,<63'
],
extras_require={
'dev': [
'bandit>=1,<2',
'flake8>=4,<5',
'flake8-bugbear>=22,<23',
'isort>=5,<6',
'pydocstyle>=6,<7',
'pylint>=2,<3',
'toml>=0,<1'
]
}
)