-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (26 loc) · 933 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
# -*- coding: utf-8 -*-
from __future__ import unicode_literals, absolute_import
from setuptools import setup, find_packages
PKG_NAME = "jsbc.KodiLib"
def get_version():
with open('jsbc/KodiLib/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
return eval(line.split('=')[-1])
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name=PKG_NAME,
version=get_version(),
author="jonisb",
author_email="github.com@JsBComputing.se",
description="Kodi support library in Python",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/jonisb/jsbc.KodiLib",
#packages=[PKG_NAME],
packages=find_packages(),
#python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4',
python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4',
namespace_packages=['jsbc']
)