移除RST
Build and Publish / Run (push) Successful in 43s
Details
Build and Publish / Run (push) Successful in 43s
Details
This commit is contained in:
parent
9c1a848ed0
commit
b93fa15176
49
README.rst
49
README.rst
|
@ -1,49 +0,0 @@
|
||||||
|icon| # magictk ### 一个模仿 `element
|
|
||||||
plus <https://element-plus.org/>`__ 的 tkinter 组件库
|
|
||||||
|
|
||||||
演示
|
|
||||||
----
|
|
||||||
|
|
||||||
.. raw:: html
|
|
||||||
|
|
||||||
<video width="420" height="240" controls src="/cxykevin/magictk-img-readme/raw/branch/master/2024-04-05_show.mp4">
|
|
||||||
|
|
||||||
您的浏览器不支持使用 HTML5 ‘video’ 标签。
|
|
||||||
|
|
||||||
.. raw:: html
|
|
||||||
|
|
||||||
</video>
|
|
||||||
|
|
||||||
依赖
|
|
||||||
----
|
|
||||||
|
|
||||||
- ``pywin32`` (Only in ``Windows``)
|
|
||||||
|
|
||||||
性能
|
|
||||||
----
|
|
||||||
|
|
||||||
| 测试机器:
|
|
||||||
| - Arch Linux x86_64 - Wayland + KDE Plasma - Intel Celeron G1840 (2) @
|
|
||||||
``2.800GHz`` - Intel HD Graphics - Memory: ``11665MiB`` - htop
|
|
||||||
|
|
||||||
CPU 占用: - 单窗口约 ``20%`` > 非最新数据
|
|
||||||
|
|
||||||
Memory 占用: - 约 ``50 MiB``
|
|
||||||
|
|
||||||
性能测试会消耗 ``200`` MiB 内存, Tim Sort ``sort()`` 1e7 随机数据
|
|
||||||
测试
|
|
||||||
|
|
||||||
组件
|
|
||||||
----
|
|
||||||
|
|
||||||
以下组件按完成时间从上(早)到下(晚)排序 1. ``Window`` 在 Linux
|
|
||||||
下存在强制置顶问题,且最大化存在问题 OSX 未经过测试 2. ``Button`` 3.
|
|
||||||
``ProgressBar`` 4. ``CheckBox`` (``Radio``) ``Radio`` 可以使用
|
|
||||||
``Checkbox`` 指定 ``RadioGroup`` 实现 5. ``Menu`` 6. ``Select`` 7.
|
|
||||||
``Frame`` 所有组件必须配合自定义的 ``Frame`` 使用,因为 ``Frame``
|
|
||||||
携带 ``root`` 信息(可手动指定) 8. ``Input`` 在 ``Linux``
|
|
||||||
下会弹出一个空窗口(如果没有这个窗口无法输入,原理尚不清楚) —
|
|
||||||
|
|
||||||
以下为计划开发顺序: 9. ``ScrollBar``
|
|
||||||
|
|
||||||
.. |icon| image:: http://git.hmtsai.cn/cxykevin/magictk-img-readme/raw/branch/master/icon.ico
|
|
5
setup.py
5
setup.py
|
@ -16,9 +16,6 @@ else:
|
||||||
|
|
||||||
print("BUILD: version="+set_v)
|
print("BUILD: version="+set_v)
|
||||||
|
|
||||||
with open("README.rst", "r", encoding='utf-8') as file:
|
|
||||||
long_desp = file.read()
|
|
||||||
|
|
||||||
print("----- setup -----")
|
print("----- setup -----")
|
||||||
setup(
|
setup(
|
||||||
name="magictk",
|
name="magictk",
|
||||||
|
@ -33,7 +30,7 @@ setup(
|
||||||
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,
|
long_description='',
|
||||||
url='http://git.hmtsai.cn/cxykevin/magictk.git',
|
url='http://git.hmtsai.cn/cxykevin/magictk.git',
|
||||||
license='GPLv2',
|
license='GPLv2',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|
Loading…
Reference in New Issue