magictk/setup.py

45 lines
1.1 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-26 11:19:10 +08:00
VERSION = "1.0.0"
######################
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:
2024-04-26 11:19:10 +08:00
set_v = set_v+"."+"10000"
print("BUILD: version="+set_v)
2024-04-19 21:36:24 +08:00
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',
2024-04-26 09:08:10 +08:00
description='Some tkinter weights look like element-plus',
2024-04-19 22:16:13 +08:00
long_description='',
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
)