-
Notifications
You must be signed in to change notification settings - Fork 49
/
setup.py
executable file
·38 lines (35 loc) · 1.39 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
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2019, Dag Wieers (@dagwieers) <dag@wieers.com>
# GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, unicode_literals
from setuptools import setup, find_packages
import os
from xml.dom.minidom import parse
project_dir = os.path.dirname(os.path.abspath(__file__))
metadata = parse(os.path.join(project_dir, 'addon.xml'))
addon_version = metadata.firstChild.getAttribute('version')
addon_id = metadata.firstChild.getAttribute('id')
setup(
name='inputstreamhelper',
version=addon_version,
url='https://github.com/emilsvennesson/script.module.inputstreamhelper',
author='Emil Svennesson',
description='Kodi InputStream Helper',
long_description=open(os.path.join(project_dir, 'README.md')).read(),
keywords='Kodi, plugin, inputstream, helper',
license='MIT',
python_requires='>=2.7',
package_dir={'': 'lib'},
packages=find_packages('lib'),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
zip_safe=False,
)