forked from iliana/python-simplemediawiki
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (34 loc) · 1.06 KB
/
Copy pathsetup.py
File metadata and controls
37 lines (34 loc) · 1.06 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
from distutils.core import setup
version = '1.1'
# If sphinx is installed, enable the command
try:
from sphinx.setup_command import BuildDoc
cmdclass = {'build_sphinx': BuildDoc}
command_options = {
'build_sphinx': {
'version': ('setup.py', version),
'release': ('setup.py', version),
}
}
except ImportError:
cmdclass = {}
command_options = {}
setup(name='simplemediawiki',
version=version,
description='Extremely low-level wrapper to the MediaWiki API',
author='Ian Weller',
author_email='iweller@redhat.com',
url='https://github.com/ianweller/python-simplemediawiki',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public '
'License (LGPL)',
],
requires=[
'kitchen',
'simplejson',
],
py_modules=['simplemediawiki'],
cmdclass=cmdclass,
command_options=command_options)