Skip to content

Commit b3c90b5

Browse files
committed
Use pyproject.toml instead of deprecated setup (3).
1 parent f00dc02 commit b3c90b5

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,7 @@ requires-python = ">=3.10"
2222

2323
[project.urls]
2424
Homepage = "https://github.com/bialimed/anacore-utils"
25-
Repository = "https://github.com/bialimed/anacore-utils"
25+
Repository = "https://github.com/bialimed/anacore-utils"
26+
27+
[tool.setuptools]
28+
packages = []

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ def load_scripts(path):
2020
filepath = os.path.join(path, filename)
2121
if os.path.isdir(filepath):
2222
if filename != "test":
23-
load_scripts(filepath)
23+
scripts += load_scripts(filepath)
2424
else:
2525
if filename.endswith(".py") and not filename.startswith("__"):
2626
scripts.append(filepath)
27-
print(scripts)
2827
return scripts
2928

3029

0 commit comments

Comments
 (0)