This commit is contained in:
yumoqing 2022-12-01 10:57:42 +08:00
parent e0d43f8b26
commit 1a0fdb3750

54
setup.py Executable file
View File

@ -0,0 +1,54 @@
# -*- coding: utf-8 -*-
from kivyplots.version import __version__
import codecs
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
description = "kivy plots base on kivy.garden.matplotlib"
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 = {
"kivyplots":[
"*.txt",
'xcamera/data/*.ttf',
'xcamera/data/*.wav',
'xcamera/xcamera.kv',
'image_processing/cascades/*.xml'
]
}
setup(
name="kivyplots",
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=[
'kivyplots'
],
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'
)