-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
59 lines (55 loc) · 2.34 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
#!/usr/bin/python3
#-------------------------------------------------------------------------------
# This file is part of Ceterach.
# Copyright (C) 2013 Riamse <riamse@protonmail.com>
#
# Ceterach is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 3 of the License, or (at your option)
# any later version.
#
# Ceterach 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 Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Ceterach. If not, see <http://www.gnu.org/licenses/>.
#-------------------------------------------------------------------------------
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def read_long_description():
try:
return open("README.md").read()
except FileNotFoundError:
return ''
required_packages = ['pytest-runner', 'requests>=1.0.3', 'arrow>=0.3.5']
test_packages = ['requests_mock>=1.3.0', 'decorator>=4.1.2',
'pytest', 'pytest-cov']
setup(name='ceterach',
version='0.0.1',
packages=['ceterach'],
setup_requires=required_packages,
install_requires=required_packages,
tests_require=test_packages,
url='https://github.com/Riamse/ceterach',
license='GNU Lesser General Public License v3 or later',
author='Riamse',
author_email='riamse@protonmail.com',
description='An interface for interacting with MediaWiki',
long_description=read_long_description(),
keywords="ceterach wiki wikipedia mediawiki",
classifiers=["Programming Language :: Python",
"Programming Language :: Python :: 3",
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
' :: '.join(["License", "OSI Approved",
"GNU Library or Lesser General "
"Public License (LGPL)"
]),
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP",
],
)