mirror of
https://github.com/Xevion/tumble.git
synced 2025-12-05 23:16:45 -06:00
49 lines
1.6 KiB
Python
49 lines
1.6 KiB
Python
"""
|
|
setup.py
|
|
The setup file containing package metadata, entrypoint directions and package installation requirements.
|
|
This file shouldn't be directly interacted with by a user, but instead be activated through a package manager like pip.
|
|
"""
|
|
|
|
# Always prefer setuptools over distutils
|
|
from setuptools import setup, find_packages
|
|
from os import path
|
|
|
|
base = path.abspath(path.dirname(__file__))
|
|
with open(path.join(base, 'README.md'), encoding='utf-8') as f:
|
|
readme = f.read()
|
|
|
|
setup(
|
|
name='tumble',
|
|
version='0.0.1',
|
|
description='A CLI-based Tumblr media scraper',
|
|
long_description=readme,
|
|
long_description_content_type='text/markdown',
|
|
url='https://github.com/Xevion/tumble',
|
|
author='Xevion',
|
|
author_email='xevion@xevion.dev',
|
|
license="License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
classifiers=[
|
|
'Development Status :: 3 - Alpha',
|
|
'Intended Audience :: Developers',
|
|
'Topic :: Software Development :: Build Tools',
|
|
'License :: OSI Approved :: GNU General Public License',
|
|
'Programming Language :: Python :: 3.7',
|
|
],
|
|
keywords='tumblr scraper media downloading downloader scraping cli commandline',
|
|
# package_dir={'': 'tumble'},
|
|
packages=find_packages(),
|
|
include_package_data=True,
|
|
python_requires='>3.5, <4',
|
|
install_requires=['docopt'],
|
|
extras_require={
|
|
},
|
|
entry_points="""
|
|
[console_scripts]
|
|
tumble=tumble.cli:main
|
|
""",
|
|
project_urls={
|
|
'Bug Reports': 'https://github.com/Xevion/tumble/issues',
|
|
'Source': 'https://github.com/Xevionn/tumble/',
|
|
},
|
|
)
|