-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·36 lines (32 loc) · 1.3 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
# -*- coding: utf-8 -*-
import re
from distutils.core import setup
VERSION_FILE = "kivymd/__init__.py"
ver_file_data = open(VERSION_FILE, "rt").read()
ver_regex = r"^__version__ = ['\"]([^'\"]*)['\"]"
ver_reg_search = re.search(ver_regex, ver_file_data, re.M)
if ver_reg_search:
version = ver_reg_search.group(1)
else:
raise ValueError(
"Unable to find version string in {}.".format(VERSION_FILE))
setup(name='kivymd',
version=version,
description='Set of widgets for Kivy inspired by Google\'s Material '
'Design',
author='Andrés Rodríguez, author fork - HeaTTheatR',
author_email='andres.rodriguez@lithersoft.com, email author fork '
'- kivydevelopment@gmail.com',
url='https://github.com/HeaTTheatR/KivyMD',
packages=['kivymd'],
package_data={
'kivymd': ['images/*.png', 'images/*.jpg', 'images/*.atlas',
'fonts/*.ttf',
'vendor/*.py', 'vendor/circleLayout/*.py',
'vendor/circularTimePicker/*.py',
'vendor/navigationdrawer/*.py',
'toast/*.py', 'toast/kivytoast/*.py',
'toast/androidtoast/*.py', 'stiffscroll/*.py',
'utils/*.py']},
requires=['kivy', 'pillow']
)