2021-08-15 16:57:20 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
2022-06-09 15:45:35 +08:00
|
|
|
from kivyblocks.version import __version__
|
2021-08-15 16:57:20 +08:00
|
|
|
|
2022-02-19 15:53:32 +08:00
|
|
|
try:
|
|
|
|
from setuptools import setup
|
|
|
|
except ImportError:
|
|
|
|
from distutils.core import setup
|
2022-06-19 20:24:18 +08:00
|
|
|
# from Cython.Build import cythonize
|
2021-08-15 16:57:20 +08:00
|
|
|
|
|
|
|
# usage:
|
|
|
|
# python setup.py bdist_wininst generate a window executable file
|
|
|
|
# python setup.py bdist_egg generate a egg file
|
|
|
|
# Release information about eway
|
|
|
|
|
2022-06-09 15:45:35 +08:00
|
|
|
version = __version__
|
2021-08-15 16:57:20 +08:00
|
|
|
description = "kivy blocks is a tool to build kivy ui with json format uidesc files"
|
|
|
|
author = "yumoqing"
|
|
|
|
email = "yumoqing@icloud.com"
|
|
|
|
|
|
|
|
package_data = {
|
|
|
|
"kivyblocks":[
|
|
|
|
'imgs/*.png',
|
|
|
|
'imgs/*.atlas',
|
|
|
|
'imgs/*.gif',
|
|
|
|
'imgs/*.jpg',
|
|
|
|
'ttf/*.ttf',
|
|
|
|
'ui/*.uidesc',
|
|
|
|
'xcamera/xcamera.kv',
|
2022-06-28 11:11:13 +08:00
|
|
|
# 'image_processing/cascades/haarcascade_frontalface_default.xml',
|
2021-08-15 16:57:20 +08:00
|
|
|
'xcamera/data/*'
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name="kivyblocks",
|
2022-02-20 11:29:14 +08:00
|
|
|
# ext_modules= cythonize( [ ]),
|
|
|
|
ext_modules= [],
|
2021-08-15 16:57:20 +08:00
|
|
|
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"
|
|
|
|
],
|
2022-02-19 15:53:32 +08:00
|
|
|
packages=[
|
|
|
|
'kivyblocks',
|
2022-06-28 11:11:13 +08:00
|
|
|
# 'kivyblocks.image_processing',
|
2022-02-19 15:53:32 +08:00
|
|
|
'kivyblocks.mapview',
|
|
|
|
'kivyblocks.uitype',
|
2022-06-28 11:11:13 +08:00
|
|
|
'kivyblocks.widgetExt'
|
|
|
|
# 'kivyblocks.xcamera'
|
2022-02-19 15:53:32 +08:00
|
|
|
],
|
2021-08-15 16:57:20 +08:00
|
|
|
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'
|
|
|
|
)
|