From 1114629353cb1eadc5a4301afb384657ff75457c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 8 Aug 2022 11:27:04 +0800 Subject: [PATCH] bugfix --- setup.py | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100755 setup.py diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..6393903 --- /dev/null +++ b/setup.py @@ -0,0 +1,54 @@ +# -*- coding: utf-8 -*- +from kivycv.version import __version__ +try: + from setuptools import setup +except ImportError: + from distutils.core import setup + +version = __version__ +description = "kivy blocks components relative with opencv" +author = "yumoqing" +email = "yumoqing@icloud.com" + +package_data = { + "kivycv":[ + 'imgs/*.png', + 'imgs/*.gif', + 'imgs/*.jpg', + 'xcamera/xcamera.kv', + 'xcamera/data/*' + 'image_processing/cascades/haarcascade_frontalface_default.xml', + ], +} + +setup( + name="kivycv", + # ext_modules= cythonize( [ ]), + ext_modules= [], + version=version, + # uncomment the following lines if you fill them out in release.py + description=description, + author=author, + author_email=email, + + install_requires=[ + "kivy", + "kivyblocks", + "appPublic" + ], + packages=[ + 'kivycv', + 'kivycv.xcamera', + 'kivycv.image_processing' + ], + 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' +)