mirror of
https://github.com/novoid/appendfilename.git
synced 2026-02-16 04:44:16 +00:00
build: reorganize project dependencies with a .toml file
The dependencies of the project -- either use (default), or further development (`dev`) -- are managed by a pyproject.toml file. Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
This commit is contained in:
parent
1eed973fc2
commit
579ce63756
3 changed files with 53 additions and 3 deletions
2
.github/workflows/pytest.yml
vendored
2
.github/workflows/pytest.yml
vendored
|
|
@ -40,7 +40,7 @@ jobs:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Install dependencies with PyPI
|
- name: Install dependencies with PyPI
|
||||||
run: pip install -r requirements.txt
|
run: pip install .[dev]
|
||||||
|
|
||||||
- name: run the check by pytest
|
- name: run the check by pytest
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
52
pyproject.toml
Normal file
52
pyproject.toml
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
[build-system]
|
||||||
|
requires = ["setuptools>=42", "wheel"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "appendfilename"
|
||||||
|
version = "2025.5.7"
|
||||||
|
description = "Intelligent appending text to file names, considering file extensions and file tags"
|
||||||
|
# readme = "README.org"
|
||||||
|
readme = {file = "README.org", content-type = "text/orgmode"}
|
||||||
|
requires-python = ">=3.9"
|
||||||
|
license = {file = "license.txt"}
|
||||||
|
authors = [
|
||||||
|
{name="Karl Voit", email="tools@Karl-Voit.at"},
|
||||||
|
]
|
||||||
|
keywords = [
|
||||||
|
"file managing",
|
||||||
|
"file management",
|
||||||
|
"files",
|
||||||
|
"name",
|
||||||
|
"time",
|
||||||
|
"time-stamps",
|
||||||
|
]
|
||||||
|
classifiers = [
|
||||||
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
"Environment :: Console",
|
||||||
|
"Intended Audience :: End Users/Desktop",
|
||||||
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
]
|
||||||
|
dependencies = [
|
||||||
|
"pyreadline3"
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
dev = [
|
||||||
|
"build",
|
||||||
|
"pytest",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
Homepage = "https://github.com/novoid/appendfilename"
|
||||||
|
Repository = "https://github.com/novoid/appendfilename"
|
||||||
|
Issues = "https://github.com/novoid/appendfilename/issues"
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
appendfilename = "appendfilename:main"
|
||||||
|
|
||||||
|
[tools.setuptools.packages.find]
|
||||||
|
where = ["."]
|
||||||
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
pyreadline3
|
|
||||||
pytest
|
|
||||||
Loading…
Reference in a new issue