|
| 1 | +[build-system] |
| 2 | +requires = ["hatchling", "hatch-vcs"] |
| 3 | +build-backend = "hatchling.build" |
| 4 | + |
1 | 5 | [project]
|
2 | 6 | name = "mne-qt-browser"
|
3 | 7 | description = "A new backend based on pyqtgraph for the 2D-Data-Browser in MNE-Python"
|
4 | 8 | readme = "README.md"
|
5 |
| -requires-python = ">=3.8" |
6 |
| -license = {file = "LICENSE"} |
| 9 | +requires-python = ">=3.9" |
| 10 | +license = { file = "LICENSE" } |
7 | 11 | keywords = ["science", "neuroscience", "psychology"]
|
8 |
| -authors = [ |
9 |
| - { name = "Martin Schulz", email = "[email protected]"}, |
10 |
| -] |
| 12 | +authors = [{ name = "Martin Schulz", email = "[email protected]" }] |
11 | 13 | classifiers = [
|
12 | 14 | "Intended Audience :: Science/Research",
|
13 |
| - "Programming Language :: Python" |
| 15 | + "Programming Language :: Python", |
14 | 16 | ]
|
15 | 17 | dependencies = [
|
16 |
| - "importlib_metadata; python_version < '3.8'", |
17 |
| - "packaging", |
18 |
| - "setuptools >=65", |
19 |
| - "numpy", |
20 |
| - "scipy", |
21 |
| - "matplotlib", |
22 |
| - "qtpy", |
23 |
| - "scooby", |
24 |
| - "mne>=1.0", |
25 |
| - "pyqtgraph>=0.12.3", |
26 |
| - "colorspacious", |
27 |
| - "pyopengl; platform_system=='Darwin'", |
28 |
| - "darkdetect", |
29 |
| - "qdarkstyle", |
| 18 | + "packaging", |
| 19 | + "numpy", |
| 20 | + "scipy", |
| 21 | + "matplotlib", |
| 22 | + "qtpy", |
| 23 | + "scooby", |
| 24 | + "mne>=1.0", |
| 25 | + "pyqtgraph>=0.12.3", |
| 26 | + "colorspacious", |
| 27 | + "pyopengl; platform_system=='Darwin'", |
| 28 | + "darkdetect", |
| 29 | + "qdarkstyle", |
30 | 30 | ]
|
31 | 31 | dynamic = ["version"]
|
32 | 32 |
|
33 | 33 | [project.optional-dependencies]
|
34 |
| -opengl = [ |
35 |
| - "pyopengl", |
36 |
| -] |
| 34 | +opengl = ["pyopengl"] |
37 | 35 | tests = [
|
38 |
| - "pytest", |
39 |
| - "pytest-qt", |
40 |
| - "pytest-cov", |
41 |
| - "pytest-timeout", |
42 |
| - "scikit-learn", |
43 |
| - "pytest-harvest", |
44 |
| - "pytest-error-for-skips", |
45 |
| - "sphinx-gallery", |
| 36 | + "pytest", |
| 37 | + "pytest-qt", |
| 38 | + "pytest-cov", |
| 39 | + "pytest-timeout", |
| 40 | + "scikit-learn", |
| 41 | + "pytest-harvest", |
| 42 | + "pytest-error-for-skips", |
| 43 | + "sphinx-gallery", |
46 | 44 | ]
|
47 | 45 |
|
48 | 46 | [project.urls]
|
49 | 47 | homepage = "https://mne.tools/mne-bids-pipeline"
|
50 | 48 | repository = "https://github.com/mne-tools/mne-bids-pipeline"
|
51 | 49 | changelog = "http://github.com/mne-tools/mne-qt-browser/releases"
|
52 | 50 |
|
53 |
| -[build-system] |
54 |
| -requires = ["setuptools>=65", "setuptools_scm[toml]>=6.2", "wheel"] |
55 |
| -build-backend = "setuptools.build_meta" |
56 |
| - |
57 |
| -[tool.setuptools_scm] |
58 |
| -tag_regex = "^(?P<prefix>v)?(?P<version>[0-9.]+)(?P<suffix>.*)?$" |
59 |
| -version_scheme = "release-branch-semver" |
60 |
| -write_to = "mne_qt_browser/_version.py" |
| 51 | +[tool.hatch.build] |
| 52 | +exclude = [ |
| 53 | + "/.*", |
| 54 | + "/*.yml", |
| 55 | + "/screenshot.png", |
| 56 | + "/CONTRIBUTING.md", |
| 57 | +] # tracked by git, but we don't want to ship those files |
61 | 58 |
|
62 |
| -[tool.setuptools.packages.find] |
63 |
| -exclude = ["false"] # on CircleCI this folder appears during pip install -ve. for an unknown reason |
| 59 | +[tool.hatch.version] |
| 60 | +source = "vcs" |
| 61 | +raw-options = { version_scheme = "release-branch-semver" } |
64 | 62 |
|
65 | 63 | [tool.pytest.ini_options]
|
66 | 64 | addopts = "-ra --cov-report= --tb=short --junit-xml=junit-results.xml --capture=sys --durations=10"
|
67 |
| -testpaths = [ |
68 |
| - "mne_qt_browser", |
69 |
| -] |
| 65 | +testpaths = ["mne_qt_browser"] |
70 | 66 | junit_family = "xunit2"
|
71 | 67 |
|
72 | 68 | [tool.black]
|
|
0 commit comments