forked from chrippa/livestreamer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
26 lines (22 loc) · 749 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
from sys import version_info
version = "1.0.0"
deps = []
# require argparse on Python <2.7 and <3.2
if (version_info[0] == 2 and version_info[1] < 7) or \
(version_info[0] == 3 and version_info[1] < 2):
deps.append("argparse")
setup(name="livestreamer",
version=version,
description="Util to play various livestreaming services in custom player",
author="Christopher Rosell",
author_email="[email protected]",
license="BSD",
packages=["livestreamer", "livestreamer/plugins"],
package_dir={'': 'src'},
entry_points={
"console_scripts": ['livestreamer=livestreamer.cli:main']
},
install_requires=deps
)