forked from globocom/m3u8
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (21 loc) · 666 Bytes
/
setup.py
File metadata and controls
24 lines (21 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from os.path import dirname, abspath, join, exists
from setuptools import setup
long_description = None
if exists("README.rst"):
with open("README.rst") as file:
long_description = file.read()
install_reqs = [req for req in open(abspath(join(dirname(__file__), 'requirements.txt')))]
setup(
name="m3u8",
author='Globo.com',
author_email='videos3@corp.globo.com',
version="0.3.0",
license='MIT',
zip_safe=False,
include_package_data=True,
install_requires=install_reqs,
packages=["m3u8"],
url="https://github.com/globocom/m3u8",
description="Python m3u8 parser",
long_description=long_description
)