Skip to content

Commit eb3102b

Browse files
committed
fix: add uv publish fix
1 parent b9cc712 commit eb3102b

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

pyproject.toml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=42", "wheel"]
2+
requires = ["setuptools>=45", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -9,9 +9,14 @@ readme = "README.md"
99
authors = [
1010
{name = "Jonas Beck"}
1111
]
12-
license = {text = "GPLv3"}
1312
requires-python = ">=3.12"
1413
dynamic = ["version"]
14+
classifiers = [
15+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
16+
"Programming Language :: Python :: 3",
17+
"Programming Language :: Python :: 3.12",
18+
]
19+
1520
dependencies = [
1621
"numpy>=1.20.0",
1722
"pandas>=1.5.3",
@@ -31,6 +36,8 @@ dev = [
3136
[tool.setuptools]
3237
packages = ["ephyspy"]
3338
package-dir = {"" = "."}
39+
# FIX: temporary workaround until https://github.com/pypa/setuptools/issues/4759 is fixed
40+
license-files = []
3441

3542
[tool.setuptools.exclude-package-data]
3643
"*" = ["*.tests.*", "tests.*", "*.tests", "tests"]
@@ -44,25 +51,14 @@ markers = [
4451
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
4552
]
4653

47-
[tool.flake8]
48-
max-line-length = 88
49-
exclude = ["docs", "build", "dist", ".ipynb_checkpoints"]
50-
5154
[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
55+
profile = "black"
6056

6157
[dependency-groups]
6258
dev = [
63-
"black>=25.1.0",
59+
"black",
6460
"ipython>=8.12.3",
65-
"isort>=6.0.1",
61+
"isort",
6662
"jupyter>=1.1.1",
6763
"jupyter-black>=0.4.0",
6864
"pytest>=8.3.5",

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)