2015-03-27 18:26:09 +01:00
|
|
|
#!/usr/bin/env python
|
2016-10-08 11:37:47 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
2015-03-27 18:26:09 +01:00
|
|
|
|
2015-11-04 00:07:03 +01:00
|
|
|
import os.path
|
|
|
|
|
2015-03-27 18:26:09 +01:00
|
|
|
try:
|
|
|
|
from setuptools import setup
|
|
|
|
except ImportError:
|
|
|
|
from distutils.core import setup
|
|
|
|
|
2015-11-04 00:07:03 +01:00
|
|
|
def read(fname):
|
|
|
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
|
|
|
|
2016-10-08 11:37:47 +02:00
|
|
|
# get version without importing the package
|
|
|
|
exec(read("gallery_dl/version.py"))
|
|
|
|
|
2015-03-27 18:26:09 +01:00
|
|
|
setup(
|
|
|
|
name="gallery_dl",
|
2016-10-08 11:37:47 +02:00
|
|
|
version=__version__,
|
2016-12-26 01:24:06 +01:00
|
|
|
description="Command-line program to download image galleries and collections from pixiv, exhentai, danbooru, gelbooru, nijie and more",
|
2015-11-04 00:07:03 +01:00
|
|
|
long_description=read("README.rst"),
|
2015-03-27 18:26:09 +01:00
|
|
|
url="https://github.com/mikf/gallery-dl",
|
2015-11-10 21:17:31 +01:00
|
|
|
download_url="https://github.com/mikf/gallery-dl/releases/latest",
|
2015-03-27 18:26:09 +01:00
|
|
|
author="Mike Fährmann",
|
|
|
|
author_email="mike_faehrmann@web.de",
|
2016-10-08 11:37:47 +02:00
|
|
|
maintainer="Mike Fährmann",
|
|
|
|
maintainer_email="mike_faehrmann@web.de",
|
2015-04-16 02:57:36 +02:00
|
|
|
license="GPLv2",
|
2016-11-12 21:51:23 +01:00
|
|
|
python_requires=">=3.3",
|
2015-04-16 02:57:36 +02:00
|
|
|
install_requires=[
|
2015-10-30 16:26:08 +01:00
|
|
|
"requests >= 2.4.2",
|
2015-04-16 02:57:36 +02:00
|
|
|
],
|
|
|
|
scripts=[
|
|
|
|
"bin/gallery-dl",
|
|
|
|
],
|
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'gallery-dl = gallery_dl:main',
|
|
|
|
],
|
|
|
|
},
|
2015-03-27 18:26:09 +01:00
|
|
|
packages=[
|
|
|
|
"gallery_dl",
|
|
|
|
"gallery_dl.extractor",
|
|
|
|
"gallery_dl.downloader",
|
|
|
|
],
|
2016-11-12 21:51:23 +01:00
|
|
|
keywords="image gallery downloader crawler scraper",
|
2015-03-27 18:26:09 +01:00
|
|
|
classifiers=[
|
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
"Environment :: Console",
|
2015-04-16 02:57:36 +02:00
|
|
|
"Intended Audience :: End Users/Desktop",
|
|
|
|
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
|
2015-12-03 02:31:23 +01:00
|
|
|
"Operating System :: Microsoft :: Windows",
|
2015-04-16 02:57:36 +02:00
|
|
|
"Operating System :: POSIX",
|
2015-03-27 18:26:09 +01:00
|
|
|
"Programming Language :: Python :: 3",
|
2015-06-28 13:02:36 +02:00
|
|
|
"Programming Language :: Python :: 3.3",
|
|
|
|
"Programming Language :: Python :: 3.4",
|
2015-10-05 20:34:14 +02:00
|
|
|
"Programming Language :: Python :: 3.5",
|
2015-03-27 18:26:09 +01:00
|
|
|
"Programming Language :: Python :: 3 :: Only",
|
2015-10-05 20:34:14 +02:00
|
|
|
"Topic :: Internet",
|
|
|
|
"Topic :: Internet :: WWW/HTTP",
|
2015-03-27 18:26:09 +01:00
|
|
|
"Topic :: Multimedia",
|
|
|
|
"Topic :: Multimedia :: Graphics",
|
|
|
|
],
|
2015-10-03 14:51:13 +02:00
|
|
|
test_suite='test',
|
2015-03-27 18:26:09 +01:00
|
|
|
)
|