magictk/setup.py

35 lines
751 B
Python
Raw Normal View History

2024-04-15 21:41:49 +08:00
import sys
import os
2024-04-15 21:41:49 +08:00
from setuptools import setup, find_packages
####### 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-15 21:41:49 +08:00
setup(
name="magictk",
version=set_v,
2024-04-15 21:41:49 +08:00
packages=(
find_packages(where="./magictk")
),
package_dir={
"magictk": "./magictk",
},
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',
url='http://git.hmtsai.cn/cxykevin/magictk.git',
license='GPLv2',
)