kivycharts/setup.py

60 lines
1.4 KiB
Python
Raw Normal View History

2021-12-28 10:48:22 +08:00
# -*- coding: utf-8 -*-
import codecs
2022-03-07 19:33:37 +08:00
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
2021-12-28 10:48:22 +08:00
# 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 charts is a tool to build kivy data plot"
author = "yumoqing"
email = "yumoqing@icloud.com"
2022-03-07 19:33:37 +08:00
version = '0.0.7'
2021-12-28 10:48:22 +08:00
depandent_packages = []
with codecs.open('./requirements.txt', 'r', 'utf-8') as f:
b = f.read()
2022-01-29 22:56:41 +08:00
b = ''.join(b.split('\r'))
depandent_packages = b.split('\n')
print('########depandent_packages=', depandent_packages)
2021-12-28 10:48:22 +08:00
package_data = {
"kivyblocks":[
'imgs/*.png',
'imgs/*.atlas',
'imgs/*.gif',
'imgs/*.jpg',
'ttf/*.ttf',
'ui/*.uidesc',
],
}
setup(
name="kivycharts",
2022-03-07 19:31:09 +08:00
ext_modules= [
],
2021-12-28 10:48:22 +08:00
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,
2022-03-07 19:33:37 +08:00
packages=[ 'kivycharts' ],
2021-12-28 10:48:22 +08:00
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'
)