-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
36 lines (32 loc) · 1.2 KB
/
setup.py
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
import ytdownloader
from os import path
from codecs import open
from setuptools import setup
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
required_packages = f.readlines()
required_packages = [package.strip() for package in required_packages]
custom_packages = ['ytdownloader']
setup(
name='ytdownloader',
version=ytdownloader.__VERSION__,
description='An automation service to download videos from Youtube',
long_description=long_description,
url='https://github.com/mukultaneja/YoutubeDownloader',
author='mukultaneja',
license='MIT License',
keywords='youtube download downloader videos playlist',
install_requires=required_packages,
python_requires='>=2.7',
entry_points={
'console_scripts': ['ytdownloader=ytdownloader.command_line:main'],
},
packages=custom_packages,
project_urls={
'Bug Reports': 'https://github.com/mukultaneja/YoutubeDownloader/issues',
'Source': 'https://github.com/mukultaneja/YoutubeDownloader',
},
)