This repository was archived by the owner on Mar 7, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (45 loc) · 1.42 KB
/
setup.py
File metadata and controls
49 lines (45 loc) · 1.42 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
38
39
40
41
42
43
44
45
46
47
48
49
"""
Imgur-python
-----------
A Python client for the Imgur API.
The original imgurpython project is no longer supported, so,
I decided to create my own python client for the Imgur API.
"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = '0.2.5'
requirements = [
'requests>=2.0',
'fleep>=1.0'
]
with open('README.md', 'r') as fh:
long_description = fh.read()
config = {
'name': 'imgur_python',
'description': 'A Python client for the Imgur API',
'long_description': long_description,
'long_description_content_type': 'text/markdown',
'license': 'GPLv3+',
'author': 'Fausto Carrera',
'author_email': 'fausto.carrera@gmx.com',
'url': 'https://faustocarrera.github.io/imgur-python/',
'download_url': 'https://github.com/faustocarrera/imgur-python',
'version': version,
'install_requires': requirements,
'packages': ['imgur_python'],
'include_package_data': True,
'platforms': 'any',
'classifiers': [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: GNU General Public License (GPL)'
],
'python_requires': '>=3.1'
}
setup(**config)