-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
executable file
·48 lines (42 loc) · 1.22 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
#!/usr/bin/python
# -*- coding: latin-1 -*-
"""Setup script."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
import commonsdownloader
version = commonsdownloader.__version__
except ImportError:
version = 'Undefined'
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'
]
packages = ['commonsdownloader']
requires = ['argparse', 'mwclient', 'six']
entry_points = {
'console_scripts': [
'download_from_Wikimedia_Commons = commonsdownloader.commonsdownloader:main',
]
}
setup(
name='CommonsDownloader',
version=version,
author='Jean-Frédéric',
author_email='JeanFred@github',
url='http://github.com/Commonists/CommonsDownloader',
description='Download thumbnails from Wikimedia Commons',
long_description=open('README.md').read(),
license='MIT',
packages=packages,
entry_points=entry_points,
install_requires=requires,
classifiers=classifiers
)