bugfix
This commit is contained in:
parent
136867f804
commit
46dd7593a6
0
requirements.txt
Normal file
0
requirements.txt
Normal file
53
setup.py
Normal file
53
setup.py
Normal file
@ -0,0 +1,53 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from kivycv.version import __version__
|
||||
import codecs
|
||||
try:
|
||||
from setuptools import setup
|
||||
except ImportError:
|
||||
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"
|
||||
author = "yumoqing"
|
||||
email = "yumoqing@icloud.com"
|
||||
version = __version__
|
||||
depandent_packages = []
|
||||
with codecs.open('./requirements.txt', 'r', 'utf-8') as f:
|
||||
b = f.read()
|
||||
b = ''.join(b.split('\r'))
|
||||
depandent_packages = b.split('\n')
|
||||
|
||||
package_data = {
|
||||
"":[
|
||||
"*.txt"
|
||||
]
|
||||
}
|
||||
|
||||
setup(
|
||||
name="kivycv",
|
||||
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=depandent_packages,
|
||||
packages=[ 'kivycv' ],
|
||||
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'
|
||||
)
|
Loading…
Reference in New Issue
Block a user