This commit is contained in:
yumoqing 2022-08-08 03:51:15 -04:00
parent e07bc45ada
commit 8f461c4523

View File

@ -6,11 +6,6 @@ try:
except ImportError: except ImportError:
from distutils.core import setup from distutils.core import setup
# usage:
# python setup.py bdist_wininst generate a window executable file
# python setup.py bdist_egg generate a egg file
# Release information about eway
description = "kivy opencv related modules" description = "kivy opencv related modules"
author = "yumoqing" author = "yumoqing"
email = "yumoqing@icloud.com" email = "yumoqing@icloud.com"
@ -22,8 +17,12 @@ with codecs.open('./requirements.txt', 'r', 'utf-8') as f:
depandent_packages = b.split('\n') depandent_packages = b.split('\n')
package_data = { package_data = {
"":[ "kivycv":[
"*.txt" "*.txt",
'xcamera/data/*.ttf',
'xcamera/data/*.wav',
'xcamera/xcamera.kv',
'image_processing/cascades/*.xml'
] ]
} }
@ -39,7 +38,11 @@ setup(
author_email=email, author_email=email,
install_requires=depandent_packages, install_requires=depandent_packages,
packages=[ 'kivycv' ], packages=[
'kivycv',
'kivycv.xcamera',
'kivycv.image_processing'
],
package_data=package_data, package_data=package_data,
keywords = [ keywords = [
], ],