2024-04-15 21:41:49 +08:00
|
|
|
import sys
|
2024-04-17 22:08:46 +08:00
|
|
|
import os
|
2024-04-15 21:41:49 +08:00
|
|
|
from setuptools import setup, find_packages
|
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-15 21:41:49 +08:00
|
|
|
setup(
|
|
|
|
name="magictk",
|
2024-04-17 22:08:46 +08:00
|
|
|
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',
|
|
|
|
)
|