67 lines
1.5 KiB
Python
Executable File
67 lines
1.5 KiB
Python
Executable File
# -*- coding: utf-8 -*-
|
|
|
|
|
|
from distutils.core import setup
|
|
from setuptools import setup, find_packages
|
|
from Cython.Build import cythonize
|
|
from version import version
|
|
|
|
# usage:
|
|
# python setup.py bdist_wininst generate a window executable file
|
|
# python setup.py bdist_egg generate a egg file
|
|
# Release information about eway
|
|
|
|
# version = "0.0.4"
|
|
description = "kivy blocks is a tool to build kivy ui with json format uidesc files"
|
|
author = "yumoqing"
|
|
email = "yumoqing@icloud.com"
|
|
|
|
packages=find_packages()
|
|
package_data = {
|
|
"kivyblocks":[
|
|
"blocks.pyx",
|
|
"dg.pyx",
|
|
'imgs/*.png',
|
|
'imgs/*.atlas',
|
|
'imgs/*.gif',
|
|
'imgs/*.jpg',
|
|
'ttf/*.ttf',
|
|
'ui/*.uidesc',
|
|
'xcamera/xcamera.kv',
|
|
'image_processing/cascades/haarcascade_frontalface_default.xml',
|
|
'xcamera/data/*'
|
|
],
|
|
}
|
|
|
|
setup(
|
|
name="kivyblocks",
|
|
ext_modules=cythonize(
|
|
[
|
|
'kivyblocks/dg.pyx',
|
|
'kivyblocks/blocks.pyx'
|
|
]),
|
|
version=version,
|
|
|
|
# uncomment the following lines if you fill them out in release.py
|
|
description=description,
|
|
author=author,
|
|
author_email=email,
|
|
|
|
install_requires=[
|
|
"kivy",
|
|
"appPublic",
|
|
"sqlor"
|
|
],
|
|
packages=packages,
|
|
package_data=package_data,
|
|
keywords = [
|
|
],
|
|
classifiers = [
|
|
'Development Status :: 3 - Alpha',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Topic :: Software Development :: Libraries :: Python Modules'
|
|
],
|
|
platforms= 'any'
|
|
)
|