完成setup,解决资源包问题
Build and Publish / Run (push) Failing after 41s
Details
Build and Publish / Run (push) Failing after 41s
Details
This commit is contained in:
parent
74567803e1
commit
8450b8ff64
|
@ -1,2 +1,2 @@
|
||||||
include magictk/res.*
|
include ./magictk/res.*
|
||||||
include magictk/*.ico
|
include ./magictk/*.ico
|
19
setup.py
19
setup.py
|
@ -1,6 +1,6 @@
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup
|
||||||
|
|
||||||
####### config #######
|
####### config #######
|
||||||
VERSION = "0.0.2"
|
VERSION = "0.0.2"
|
||||||
|
@ -16,17 +16,32 @@ else:
|
||||||
|
|
||||||
print("BUILD: version="+set_v)
|
print("BUILD: version="+set_v)
|
||||||
|
|
||||||
|
with open("README.md", "r", encoding='utf-8') as file:
|
||||||
|
long_desp = file.read()
|
||||||
|
|
||||||
|
print("----- setup -----")
|
||||||
setup(
|
setup(
|
||||||
name="magictk",
|
name="magictk",
|
||||||
version=set_v,
|
version=set_v,
|
||||||
packages=find_packages(),
|
packages=("magictk",),
|
||||||
package_dir={
|
package_dir={
|
||||||
"magictk": "./magictk",
|
"magictk": "./magictk",
|
||||||
},
|
},
|
||||||
|
python_requires='>=3.8',
|
||||||
|
include_package_data=True,
|
||||||
install_requires=[],
|
install_requires=[],
|
||||||
author='cxykevin|git.hmtsai.cn',
|
author='cxykevin|git.hmtsai.cn',
|
||||||
author_email='cxykevin@yeah.net',
|
author_email='cxykevin@yeah.net',
|
||||||
description='A tkinter weights looks like element-plus',
|
description='A tkinter weights looks like element-plus',
|
||||||
|
long_description=long_desp,
|
||||||
url='http://git.hmtsai.cn/cxykevin/magictk.git',
|
url='http://git.hmtsai.cn/cxykevin/magictk.git',
|
||||||
license='GPLv2',
|
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',
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue