mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-24 17:38:21 -04:00
move test_requirements.txt to requirements-dev.txt using project deps
Also add compat symlink for the old txt file and venv_dev makefile target
This commit is contained in:
parent
71cfaef537
commit
61da193d90
4 changed files with 16 additions and 6 deletions
5
Makefile
5
Makefile
|
@ -4,12 +4,15 @@ PYTHON := python3
|
|||
INSTALL_BINARY_NAME := kupferbootstrap
|
||||
INSTALL_TARGET := ${HOME}/.local/bin/$(INSTALL_BINARY_NAME)
|
||||
|
||||
.PHONY: KBS_HELP install
|
||||
.PHONY: KBS_HELP install venv_dev
|
||||
DEFAULT: KBS_HELP
|
||||
|
||||
$(VENV)/bin/pip3:
|
||||
$(PYTHON) -m venv $(VENV)
|
||||
|
||||
venv_dev: $(VENV)/bin/pip3 pyproject.toml requirements.txt requirements-dev.txt
|
||||
$(VENV)/bin/pip3 install -r requirements-dev.txt
|
||||
|
||||
$(KUPFERBOOTSTRAP): $(VENV)/bin/pip3 pyproject.toml requirements.txt
|
||||
$(VENV)/bin/pip3 install -r requirements.txt
|
||||
|
||||
|
|
|
@ -16,6 +16,16 @@ dependencies = [
|
|||
]
|
||||
dynamic = ["version"]
|
||||
|
||||
[project.optional-dependencies]
|
||||
all = ["kupferbootstrap[dev]"]
|
||||
dev = [
|
||||
"autoflake",
|
||||
"mypy",
|
||||
"yapf",
|
||||
"pytest",
|
||||
"pytest-cov",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
kupferbootstrap = "kupferbootstrap.main:main"
|
||||
|
||||
|
|
1
requirements-dev.txt
Normal file
1
requirements-dev.txt
Normal file
|
@ -0,0 +1 @@
|
|||
-e .[all]
|
|
@ -1,5 +0,0 @@
|
|||
autoflake
|
||||
mypy
|
||||
yapf
|
||||
pytest
|
||||
pytest-cov
|
1
test_requirements.txt
Symbolic link
1
test_requirements.txt
Symbolic link
|
@ -0,0 +1 @@
|
|||
requirements-dev.txt
|
Loading…
Add table
Add a link
Reference in a new issue