-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
56 lines (49 loc) · 1.71 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
[project]
name = 'traits-futures'
description = 'Patterns for reactive background tasks'
readme = 'README.rst'
requires-python = '>=3.8'
authors = [{name='Enthought', email='[email protected]'}]
keywords = ['background', 'concurrency', 'futures', 'gui', 'traits', 'traitsui']
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
]
dependencies = [
'pyface',
'traits>=6.2',
]
dynamic = ['version']
[project.entry-points.'traits_futures.event_loops']
qt = 'traits_futures.qt.event_loop:QtEventLoop'
qt4 = 'traits_futures.qt.event_loop:QtEventLoop'
wx = 'traits_futures.wx.event_loop:WxEventLoop'
[project.optional-dependencies]
pyqt5 = ['pyqt5']
pyside2 = ['pyside2']
pyside6 = ['pyside6']
[project.urls]
source = 'https://github.com/enthought/traits-futures'
docs = 'https://docs.enthought.com/traits-futures/'
[build-system]
requires = ['setuptools>=61', 'setuptools-scm[toml]>=6.2', 'wheel']
build-backend = 'setuptools.build_meta'
[tool.black]
line-length = 79
target-version = ['py36']
# black introduces extra blank lines that we don't want in the Sphinx
# rendering. xref: https://github.com/sphinx-doc/sphinx/issues/9407
exclude = '/docs/source/guide/examples/fizz_buzz_task.py'
[tool.isort]
profile = 'black'
sections = ['FUTURE', 'STDLIB', 'THIRDPARTY', 'ENTHOUGHT', 'FIRSTPARTY', 'LOCALFOLDER']
known_third_party = ['wx']
known_enthought = ['chaco', 'enable', 'pyface', 'traits', 'traitsui']
line_length = 79
order_by_type = false
skip_glob = 'docs/source/guide/examples/*'
[tool.setuptools_scm]
version_scheme = 'release-branch-semver'