2024-04-15 21:41:49 +08:00
|
|
|
import sys
|
2024-04-17 22:08:46 +08:00
|
|
|
import os
|
2024-04-19 21:36:24 +08:00
|
|
|
from setuptools import setup
|
2024-04-17 22:08:46 +08:00
|
|
|
|
|
|
|
####### config #######
|
2024-04-16 22:41:10 +08:00
|
|
|
VERSION = "0.0.2"
|
2024-04-17 22:08:46 +08:00
|
|
|
######################
|
|
|
|
|
|
|
|
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
|
|
|
print("----- setup -----")
|
2024-04-15 21:41:49 +08:00
|
|
|
setup(
|
|
|
|
name="magictk",
|
2024-04-17 22:08:46 +08:00
|
|
|
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 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
|
|
|
)
|