pytube / setup.py
zvodd's picture
script entry in setup.py done the **Rightway**(TM)
2a3d0a7
raw
history blame
1.65 kB
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pytube import __version__
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('LICENSE.txt') as readme_file:
license = readme_file.read()
setup(
name="pytube",
version=__version__,
author="Nick Ficano",
author_email="[email protected]",
packages=['pytube'],
url="https://github.com/nficano/pytube",
license=license,
entry_points={
'console_scripts': [
'pytube = pytube.__main__:main',
],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Multimedia :: Video",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Terminals",
"Topic :: Utilities",
],
description=("A Python library for downloading YouTube videos."),
long_description=readme,
zip_safe=True,
)