Skip to content

Commit dee0ed1

Browse files
committed
Revert "chore: migrate to modern tooling"
This reverts commit 6cf9b71.
1 parent 2efc373 commit dee0ed1

File tree

6 files changed

+799
-108
lines changed

6 files changed

+799
-108
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
python-version: "3.10"
1919
- name: 🏗 Install build dependencies
2020
run: >-
21-
python -m pip install wheel build --user
21+
python -m pip install wheel --user
2222
- name: 🔨 Build a binary wheel and a source tarball
2323
run: >-
24-
python -m build
24+
python setup.py sdist bdist_wheel
2525
- name: ⬆ Upload build result
2626
uses: actions/upload-artifact@v4
2727
with:

Taskfile.yml

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

pyproject.toml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,7 @@
11
[build-system]
2-
requires = ["setuptools>=67", "wheel"]
2+
requires = ["setuptools>=40.8.0", "wheel"]
33
build-backend = "setuptools.build_meta"
44

5-
[project]
6-
name = "OctoPrint-FileCheck"
7-
version = "2024.11.12"
8-
description = "Checks for common issues in uploaded files"
9-
authors = [
10-
{name = "Gina Häußge", email = "gina@octoprint.org"}
11-
]
12-
maintainers = [
13-
{name = "Gina Häußge", email = "gina@octoprint.org"}
14-
]
15-
readme = {file = "README.md", content-type = "markdown"}
16-
license = "AGPL-3.0-or-later"
17-
license-files = ["LICENSE"]
18-
19-
requires-python = ">=3.7, <3.14"
20-
21-
[tool.setuptools]
22-
include-package-data = true
23-
packages = ["octoprint_file_check"]
24-
25-
[project.entry-points."octoprint.plugin"]
26-
file_check = "octoprint_file_check"
27-
28-
[project.optional-dependencies]
29-
develop = [
30-
"pre-commit",
31-
"go-task-bin"
32-
]
33-
345
[tool.ruff]
356
exclude = [
367
# standard stuff

requirements.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
###
2+
# This file is only here to make sure that something like
3+
#
4+
# pip install -e .
5+
#
6+
# works as expected. Requirements can be found in setup.py.
7+
###
8+
9+
.

setup.cfg

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[metadata]
2+
license_file = LICENSE
3+
4+
[bdist_wheel]
5+
universal = 1
6+
7+
[flake8]
8+
max-line-length = 90
9+
extend-ignore = E203, E231, E265, E266, E402, E501, E731, B950, W503, W504, W605
10+
select = B,C,E,F,W,T4,B9
11+
12+
[isort]
13+
multi_line_output = 3
14+
include_trailing_comma = True
15+
force_grid_wrap = 0
16+
use_parentheses = True
17+
ensure_newline_before_comments = True
18+
line_length = 90

0 commit comments

Comments
 (0)