magictk/setup.py

48 lines
1.2 KiB
Python
Raw Normal View History

2024-04-15 21:41:49 +08:00
import sys
import os
2024-04-19 21:36:24 +08:00
from setuptools import setup
####### config #######
2024-04-16 22:41:10 +08:00
VERSION = "0.0.2"
######################
set_v = VERSION
if (os.path.exists("runid.conf")):
with open("runid.conf", "r") as file:
runid = file.read()
set_v = set_v+"."+runid
else:
set_v = set_v+"."+"1000"
print("BUILD: version="+set_v)
2024-04-19 21:36:24 +08:00
with open("README.md", "r", encoding='utf-8') as file:
long_desp = file.read()
print("----- setup -----")
2024-04-15 21:41:49 +08:00
setup(
name="magictk",
version=set_v,
2024-04-19 21:36:24 +08:00
packages=("magictk",),
2024-04-15 21:41:49 +08:00
package_dir={
"magictk": "./magictk",
},
2024-04-19 21:36:24 +08:00
python_requires='>=3.8',
include_package_data=True,
2024-04-18 22:03:21 +08:00
install_requires=[],
2024-04-15 21:41:49 +08:00
author='cxykevin|git.hmtsai.cn',
author_email='cxykevin@yeah.net',
description='A tkinter weights looks like element-plus',
2024-04-19 21:36:24 +08:00
long_description=long_desp,
2024-04-15 21:41:49 +08:00
url='http://git.hmtsai.cn/cxykevin/magictk.git',
license='GPLv2',
2024-04-19 21:36:24 +08:00
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
2024-04-15 21:41:49 +08:00
)