This commit is contained in:
yumoqing 2022-08-11 02:00:18 -04:00
parent 6b55565cf1
commit 2361c4d68e
2 changed files with 9 additions and 23 deletions

View File

@ -1,18 +1 @@
# __version__ = '0.2.8'
# add a new class DefaultImage, if the source load failed, source set to default_source
#__version__ = '0.2.9'
# fix bug in ffpyplayer_video.py
#__version__ = '0.2.10'
# fix bug in __init__.py, can not import kivy here
# __version__ = '0.2.11'
# move all the source using opencv to a independent module
# __version__ = '0.2.12'
# move code using pyaudio to a independent module
# __version__ = '0.2.13'
# use json replace ujson because kivy-ios can not compile ujson
# __version__ = '0.2.14'
# delete xcamera module
# __version__ = '0.2.15'
# use apppublic.rsawrap instead of apppublic.rsa
__version__ = '0.2.16' __version__ = '0.2.16'

View File

@ -1,5 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from kivyblocks.version import __version__
try: try:
from setuptools import setup from setuptools import setup
@ -7,12 +6,15 @@ except ImportError:
from distutils.core import setup from distutils.core import setup
# from Cython.Build import cythonize # from Cython.Build import cythonize
# usage: with open('kivyblocks/version.py', 'r') as f:
# python setup.py bdist_wininst generate a window executable file x = f.read()
# python setup.py bdist_egg generate a egg file y = x[x.index("'")+1:]
# Release information about eway z = y[:y.index("'")]
version = z
with open("README.md", "r") as fh:
long_description = fh.read()
version = __version__
description = "kivy blocks is a tool to build kivy ui with json format uidesc files" description = "kivy blocks is a tool to build kivy ui with json format uidesc files"
author = "yumoqing" author = "yumoqing"
email = "yumoqing@icloud.com" email = "yumoqing@icloud.com"
@ -38,6 +40,7 @@ setup(
version=version, version=version,
# uncomment the following lines if you fill them out in release.py # uncomment the following lines if you fill them out in release.py
description=description, description=description,
long_description=long_description,
author=author, author=author,
author_email=email, author_email=email,