Skip to content

Commit 49f3a01

Browse files
committed
chore: move to uv
1 parent 20f1159 commit 49f3a01

File tree

6 files changed

+2094
-75
lines changed

6 files changed

+2094
-75
lines changed

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

pyproject.toml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
[build-system]
2+
requires = ["setuptools>=42", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "ephyspy"
7+
description = "Package to extract summary statistics from electrophysiological data."
8+
readme = "README.md"
9+
authors = [
10+
{name = "Jonas Beck"}
11+
]
12+
license = {text = "GPLv3"}
13+
requires-python = ">=3.12"
14+
dynamic = ["version"]
15+
dependencies = [
16+
"numpy>=1.20.0",
17+
"pandas>=1.5.3",
18+
"matplotlib>=3.4.2",
19+
"scipy>=1.9.1",
20+
"scikit-learn>=1.1.1",
21+
]
22+
23+
[project.optional-dependencies]
24+
dev = [
25+
"black",
26+
"isort",
27+
"pytest",
28+
"pytest-cov",
29+
]
30+
31+
[tool.setuptools]
32+
packages = ["ephyspy"]
33+
package-dir = {"" = "."}
34+
35+
[tool.setuptools.exclude-package-data]
36+
"*" = ["*.tests.*", "tests.*", "*.tests", "tests"]
37+
38+
[tool.setuptools.dynamic]
39+
version = {attr = "ephyspy.__version__.__version__"}
40+
41+
[tool.pytest]
42+
pep8maxlinelength = 88
43+
markers = [
44+
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
45+
]
46+
47+
[tool.flake8]
48+
max-line-length = 88
49+
exclude = ["docs", "build", "dist", ".ipynb_checkpoints"]
50+
51+
[tool.isort]
52+
line_length = 88
53+
include_trailing_comma = true
54+
force_grid_wrap = 0
55+
use_parentheses = true
56+
skip_glob = ".ipynb_checkpoints"
57+
known_first_party = ["ephyspy", "tests"]
58+
known_third_party = ["matplotlib", "numpy", "pytest", "scipy", "setuptools", "six", "sklearn", "pandas"]
59+
multi_line_output = 3
60+
61+
[dependency-groups]
62+
dev = [
63+
"black>=25.1.0",
64+
"ipython>=8.12.3",
65+
"isort>=6.0.1",
66+
"jupyter>=1.1.1",
67+
"jupyter-black>=0.4.0",
68+
"pytest>=8.3.5",
69+
"pytest-cov>=6.0.0",
70+
"seaborn>=0.13.2",
71+
]

requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

setup.cfg

Lines changed: 0 additions & 21 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)