完成setup,解决资源包问题
Build and Publish / Run (push) Failing after 41s Details

This commit is contained in:
cxykevin 2024-04-19 21:36:24 +08:00
parent 74567803e1
commit 8450b8ff64
2 changed files with 19 additions and 4 deletions

View File

@ -1,2 +1,2 @@
include magictk/res.*
include magictk/*.ico
include ./magictk/res.*
include ./magictk/*.ico

View File

@ -1,6 +1,6 @@
import sys
import os
from setuptools import setup, find_packages
from setuptools import setup
####### config #######
VERSION = "0.0.2"
@ -16,17 +16,32 @@ else:
print("BUILD: version="+set_v)
with open("README.md", "r", encoding='utf-8') as file:
long_desp = file.read()
print("----- setup -----")
setup(
name="magictk",
version=set_v,
packages=find_packages(),
packages=("magictk",),
package_dir={
"magictk": "./magictk",
},
python_requires='>=3.8',
include_package_data=True,
install_requires=[],
author='cxykevin|git.hmtsai.cn',
author_email='cxykevin@yeah.net',
description='A tkinter weights looks like element-plus',
long_description=long_desp,
url='http://git.hmtsai.cn/cxykevin/magictk.git',
license='GPLv2',
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',
]
)