forked from superolmo/pyxtream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (36 loc) · 1.14 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
37
38
39
import os
from setuptools import setup, find_packages
with open("README.md", "r", encoding='utf-8') as fh:
long_description = fh.read()
main_ns = {}
ver_path = os.path.join('pyxtream', 'version.py')
with open(ver_path, encoding='utf-8') as ver_file:
exec(ver_file.read(), main_ns)
setup(
name='pyxtream',
version=main_ns['__version__'],
author=main_ns['__author__'],
author_email=main_ns['__author_email__'],
description="xtream IPTV loader",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/superolmo/pyxtream",
packages=find_packages(),
license="GPL3",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Natural Language :: English"
],
install_requires=[
'jsonschema',
'requests',
],
extras_require={
"REST_API": ["Flask>=1.1.2",],
}
)