This commit is contained in:
yumoqing 2022-03-07 19:33:37 +08:00
parent 06654ee081
commit 8b984aa8d9

View File

@ -1,8 +1,10 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import codecs import codecs
from distutils.core import setup try:
from setuptools import setup, find_packages from setuptools import setup
except ImportError:
from distutils.core import setup
# usage: # usage:
# python setup.py bdist_wininst generate a window executable file # python setup.py bdist_wininst generate a window executable file
@ -12,7 +14,7 @@ from setuptools import setup, find_packages
description = "kivy charts is a tool to build kivy data plot" description = "kivy charts is a tool to build kivy data plot"
author = "yumoqing" author = "yumoqing"
email = "yumoqing@icloud.com" email = "yumoqing@icloud.com"
version = '0.0.6' version = '0.0.7'
depandent_packages = [] depandent_packages = []
with codecs.open('./requirements.txt', 'r', 'utf-8') as f: with codecs.open('./requirements.txt', 'r', 'utf-8') as f:
b = f.read() b = f.read()
@ -20,7 +22,6 @@ with codecs.open('./requirements.txt', 'r', 'utf-8') as f:
depandent_packages = b.split('\n') depandent_packages = b.split('\n')
print('########depandent_packages=', depandent_packages) print('########depandent_packages=', depandent_packages)
packages=find_packages()
package_data = { package_data = {
"kivyblocks":[ "kivyblocks":[
'imgs/*.png', 'imgs/*.png',
@ -44,7 +45,7 @@ setup(
author_email=email, author_email=email,
install_requires=depandent_packages, install_requires=depandent_packages,
packages=packages, packages=[ 'kivycharts' ],
package_data=package_data, package_data=package_data,
keywords = [ keywords = [
], ],