mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-03-16 04:52:22 +09:00
add a setup.py to allow to install with pip install -e
This commit is contained in:
parent
9bb8dc8e42
commit
b405488940
24
setup.py
Normal file
24
setup.py
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
from setuptools import setup
|
||||||
|
from setuptools import find_packages
|
||||||
|
|
||||||
|
version = '1.3.6'
|
||||||
|
|
||||||
|
setup(name='youtube-dl',
|
||||||
|
version=version,
|
||||||
|
description="YouTube downloader",
|
||||||
|
long_description="""\
|
||||||
|
**youtube-dl** is a small command-line program to download videos from
|
||||||
|
YouTube.com and a few more sites. It requires the Python interpreter, version
|
||||||
|
2.x (x being at least 6), and it is not platform specific. It should work in
|
||||||
|
your Unix box, in Windows or in Mac OS X. It is released to the public domain,
|
||||||
|
which means you can modify it, redistribute it or use it however you like.
|
||||||
|
""",
|
||||||
|
packages=find_packages(exclude=['test']),
|
||||||
|
include_package_data=True,
|
||||||
|
zip_safe=False,
|
||||||
|
entry_points="""
|
||||||
|
[console_scripts]
|
||||||
|
youtube-dl = youtube_dl:main
|
||||||
|
""",
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user