forked from nucleic/enaml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
111 lines (98 loc) · 3.45 KB
/
pyproject.toml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# --------------------------------------------------------------------------------------
# Copyright (c) 2013-2023, Nucleic Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# --------------------------------------------------------------------------------------
[project]
name = "enaml"
description = "Declarative DSL for building rich user interfaces in Python"
readme = "README.rst"
requires-python = ">=3.8,!=3.11.0,!=3.11.1"
license = {file = "LICENSE"}
authors = [
{name = "The Nucleic Development Team", email = "sccolbert@gmail.com"}
]
maintainers = [
{name = "Matthieu C. Dartiailh", email = "m.dartiailh@gmail.com"}
]
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"atom>=0.9.0",
"kiwisolver>=1.2.0",
"bytecode>=0.15.1",
"pegen>=0.3.0",
]
dynamic=["version"]
[project.optional-dependencies]
qt5-pyqt = ["qtpy>=2.1.0", "PyQt5"]
qt5-pyside = ["qtpy>=2.1.0", "pyside2"]
qt6-pyqt = ["qtpy>=2.1.0", "PyQt6>=6.3.1"]
qt6-pyside = ["qtpy>=2.3.0", "pyside6>=6.2.3"]
scintilla-qt5-pyqt = ["QScintilla"]
scintilla-qt6-pyqt = ["PyQt6-QScintilla"]
matplotlib-qt = ["matplotlib"]
ipython-qt = ["qtconsole"]
webview-qt5-pyqt = ["PyQtWebEngine"]
webview-qt6-pyqt = ["PyQt6-WebEngine"]
vtk-qt = ["vtk"]
[project.urls]
homepage = "https://github.com/nucleic/enaml"
documentation = "https://enaml.readthedocs.io/en/latest/"
repository = "https://github.com/nucleic/enaml"
changelog = "https://github.com/nucleic/enaml/blob/main/releasenotes.rst"
[project.scripts]
enaml-run = "enaml.runner:main"
enaml-compileall = "enaml.compile_all:main"
[build-system]
requires = ["setuptools>=61.2", "wheel", "setuptools_scm[toml]>=3.4.3", "cppy>=1.2.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = false
[tool.setuptools.package-data]
"enaml.core.parser" = ['*.gram']
"enaml.applib" = ['*.enaml']
"enaml.stdlib" = ['*.enaml']
"enaml.workbench.core" = ['*.enaml']
"enaml.workbench.ui" = ['*.enaml']
"enaml.qt.docking" = [
'dock_images/*.png',
'dock_images/*.py',
'enaml_dock_resources.qrc'
]
[tool.setuptools_scm]
write_to = "enaml/version.py"
write_to_template = """
# --------------------------------------------------------------------------------------
# Copyright (c) 2013-2023, Nucleic Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# --------------------------------------------------------------------------------------
# This file is auto-generated by setuptools-scm do NOT edit it.
from collections import namedtuple
#: A namedtuple of the version info for the current release.
_version_info = namedtuple("_version_info", "major minor micro status")
parts = "{version}".split(".", 3)
version_info = _version_info(
int(parts[0]),
int(parts[1]),
int(parts[2]),
parts[3] if len(parts) == 4 else "",
)
# Remove everything but the 'version_info' from this module.
del namedtuple, _version_info, parts
__version__ = "{version}"
"""