bugfix
This commit is contained in:
parent
06654ee081
commit
8b984aa8d9
11
setup.py
11
setup.py
@ -1,8 +1,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import codecs
|
||||
from distutils.core import setup
|
||||
from setuptools import setup, find_packages
|
||||
try:
|
||||
from setuptools import setup
|
||||
except ImportError:
|
||||
from distutils.core import setup
|
||||
|
||||
# usage:
|
||||
# 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"
|
||||
author = "yumoqing"
|
||||
email = "yumoqing@icloud.com"
|
||||
version = '0.0.6'
|
||||
version = '0.0.7'
|
||||
depandent_packages = []
|
||||
with codecs.open('./requirements.txt', 'r', 'utf-8') as f:
|
||||
b = f.read()
|
||||
@ -20,7 +22,6 @@ with codecs.open('./requirements.txt', 'r', 'utf-8') as f:
|
||||
depandent_packages = b.split('\n')
|
||||
print('########depandent_packages=', depandent_packages)
|
||||
|
||||
packages=find_packages()
|
||||
package_data = {
|
||||
"kivyblocks":[
|
||||
'imgs/*.png',
|
||||
@ -44,7 +45,7 @@ setup(
|
||||
author_email=email,
|
||||
|
||||
install_requires=depandent_packages,
|
||||
packages=packages,
|
||||
packages=[ 'kivycharts' ],
|
||||
package_data=package_data,
|
||||
keywords = [
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user