Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (35 loc) · 1.51 KB
/
Copy pathsetup.py
File metadata and controls
36 lines (35 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from setuptools import setup, find_packages
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text(encoding="utf-8")
from PUI import __version__
setup(
name='qpuiq',
version=__version__,
url='https://github.com/buganini/PUI',
author='Buganini Chiu',
author_email='buganini@b612.tw',
description='"PUI" Python Declarative UI Framework',
packages=find_packages(),
package_data={"PUI": ["py.typed", "doc/*.md", "doc/*.html"],
"PUI.examples": ["README.md"],
"PUI.cookbook": ["assets/*.jpg", "assets/*.md", "*.html", "requirements.txt"],
"PUI.web": ["static/*.js", "static/*.css", "static/*.wasm", "static/*.txt"]},
python_requires='>=3.9',
extras_require={
"pyside6": ["PySide6"],
"wx": ["wxPython"],
"flet": ["flet[desktop,web]>=1.0.4,<2"],
"textual": ["textual"],
"web": ["aiohttp>=3.13.5,<4", "msgpack>=1.1.2,<2", "zstandard>=0.25,<1"],
"codex": ["openai-codex==0.163.0"],
"claude": ["claude-agent-sdk==0.2.168"],
"matplotlib": ["matplotlib"],
"cookbook": ["pygments", "matplotlib", "shapely>=2.0"],
"landlock": ["landlock==1.0.0.dev5; sys_platform == 'linux'"],
"reload": ["jurigged"],
"tkinter": ["Pillow>=9.1"], # Tk itself comes from Python/OS; Pillow supplies Canvas image resampling.
},
long_description=long_description,
long_description_content_type='text/markdown'
)