forked from nskrypnik/kivy3
-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
27 lines (24 loc) · 773 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
#!/usr/bin/env python
from setuptools import find_packages, setup
from os.path import join, dirname
from os import walk
examples = {}
for root, subFolders, files in walk('examples'):
for fn in files:
ext = fn.split('.')[-1].lower()
filename = join(root, fn)
directory = '%s%s' % ('share/kivy3-', dirname(filename))
if directory not in examples:
examples[directory] = []
examples[directory].append(filename)
setup(
name='kivy3',
version='0.1',
description='Kivy extensions for 3D graphics',
author='Niko Skrypnik',
author_email='[email protected]',
include_package_data=True,
packages=find_packages(exclude=("tests",)),
data_files=list(examples.items()),
requires=['kivy', ]
)