forked from Eyevinn/hls-download
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (29 loc) · 987 Bytes
/
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
from os.path import dirname, abspath, join, exists
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
long_description = None
if exists("README.md"):
long_description = read_md("README.md")
install_reqs = [req for req in open(abspath(join(dirname(__file__), 'requirements.txt')))]
setup(
name = "hlsdownload",
version = "0.0.14",
author = "Jonas Birme",
author_email = "[email protected]",
description = "Download HLS and convert to MP4",
long_description=long_description,
license = "MIT",
install_requires=install_reqs,
url = "https://github.com/Eyevinn/hls-downloader",
packages = ['hlsdownload' ],
entry_points = {
'console_scripts': [
'hls-downloader=hlsdownload.downloader:main',
]
}
)