Browse Source

python3 -m venv --prompt sensospot .venv

.venv/bin/pip3 install --upgrade pip
Requirement already satisfied: pip in ./.venv/lib/python3.10/site-packages (22.2.2)
.venv/bin/pip3 install "flit>3.2"
Requirement already satisfied: flit>3.2 in ./.venv/lib/python3.10/site-packages (3.7.1)
Requirement already satisfied: docutils in ./.venv/lib/python3.10/site-packages (from flit>3.2) (0.19)
Requirement already satisfied: requests in ./.venv/lib/python3.10/site-packages (from flit>3.2) (2.28.1)
Requirement already satisfied: tomli-w in ./.venv/lib/python3.10/site-packages (from flit>3.2) (1.0.0)
Requirement already satisfied: flit_core>=3.7.1 in ./.venv/lib/python3.10/site-packages (from flit>3.2) (3.7.1)
Requirement already satisfied: tomli in ./.venv/lib/python3.10/site-packages (from flit>3.2) (2.0.1)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.10/site-packages (from requests->flit>3.2) (3.3)
Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.10/site-packages (from requests->flit>3.2) (2022.6.15)
Requirement already satisfied: charset-normalizer<3,>=2 in ./.venv/lib/python3.10/site-packages (from requests->flit>3.2) (2.1.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.venv/lib/python3.10/site-packages (from requests->flit>3.2) (1.26.12)
.venv/bin/flit install --pth-file
[?1049h(B[?7h[?1049l
[?1l>Requirement already satisfied: pandas>=1.0.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 1)) (1.4.3)
Requirement already satisfied: defusedxml>=0.6.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 2)) (0.7.1)
Requirement already satisfied: tables>=3.6.1 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 3)) (3.7.0)
Requirement already satisfied: click in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 4)) (8.1.3)
Requirement already satisfied: pytest>=4.0.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (7.1.2)
Requirement already satisfied: pytest-cov in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 6)) (3.0.0)
Requirement already satisfied: pytest-mock in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 7)) (3.8.2)
Requirement already satisfied: pytest-randomly>=3.5.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 8)) (3.12.0)
Requirement already satisfied: tox in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (3.25.1)
Requirement already satisfied: black in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 10)) (22.6.0)
Requirement already satisfied: flake8 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 11)) (5.0.4)
Requirement already satisfied: flake8-comprehensions in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 12)) (3.10.0)
Requirement already satisfied: flake8-bandit in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (4.1.1)
Requirement already satisfied: isort>=5.0.0 in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 14)) (5.10.1)
Requirement already satisfied: keyring in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 15)) (23.8.2)
Requirement already satisfied: pre-commit in ./.venv/lib/python3.10/site-packages (from -r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (2.20.0)
Requirement already satisfied: python-dateutil>=2.8.1 in ./.venv/lib/python3.10/site-packages (from pandas>=1.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 1)) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in ./.venv/lib/python3.10/site-packages (from pandas>=1.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 1)) (2022.2.1)
Requirement already satisfied: numpy>=1.21.0 in ./.venv/lib/python3.10/site-packages (from pandas>=1.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 1)) (1.23.2)
Requirement already satisfied: numexpr>=2.6.2 in ./.venv/lib/python3.10/site-packages (from tables>=3.6.1->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 3)) (2.8.3)
Requirement already satisfied: packaging in ./.venv/lib/python3.10/site-packages (from tables>=3.6.1->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 3)) (21.3)
Requirement already satisfied: tomli>=1.0.0 in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (2.0.1)
Requirement already satisfied: attrs>=19.2.0 in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (22.1.0)
Requirement already satisfied: pluggy<2.0,>=0.12 in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (1.0.0)
Requirement already satisfied: iniconfig in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (1.1.1)
Requirement already satisfied: py>=1.8.2 in ./.venv/lib/python3.10/site-packages (from pytest>=4.0.0->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 5)) (1.11.0)
Requirement already satisfied: coverage[toml]>=5.2.1 in ./.venv/lib/python3.10/site-packages (from pytest-cov->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 6)) (6.4.4)
Requirement already satisfied: toml>=0.9.4 in ./.venv/lib/python3.10/site-packages (from tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (0.10.2)
Requirement already satisfied: filelock>=3.0.0 in ./.venv/lib/python3.10/site-packages (from tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (3.8.0)
Requirement already satisfied: virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 in ./.venv/lib/python3.10/site-packages (from tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (20.16.3)
Requirement already satisfied: six>=1.14.0 in ./.venv/lib/python3.10/site-packages (from tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (1.16.0)
Requirement already satisfied: mypy-extensions>=0.4.3 in ./.venv/lib/python3.10/site-packages (from black->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 10)) (0.4.3)
Requirement already satisfied: platformdirs>=2 in ./.venv/lib/python3.10/site-packages (from black->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 10)) (2.5.2)
Requirement already satisfied: pathspec>=0.9.0 in ./.venv/lib/python3.10/site-packages (from black->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 10)) (0.9.0)
Requirement already satisfied: mccabe<0.8.0,>=0.7.0 in ./.venv/lib/python3.10/site-packages (from flake8->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 11)) (0.7.0)
Requirement already satisfied: pyflakes<2.6.0,>=2.5.0 in ./.venv/lib/python3.10/site-packages (from flake8->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 11)) (2.5.0)
Requirement already satisfied: pycodestyle<2.10.0,>=2.9.0 in ./.venv/lib/python3.10/site-packages (from flake8->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 11)) (2.9.1)
Requirement already satisfied: bandit>=1.7.3 in ./.venv/lib/python3.10/site-packages (from flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (1.7.4)
Requirement already satisfied: identify>=1.0.0 in ./.venv/lib/python3.10/site-packages (from pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (2.5.3)
Requirement already satisfied: pyyaml>=5.1 in ./.venv/lib/python3.10/site-packages (from pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (6.0)
Requirement already satisfied: nodeenv>=0.11.1 in ./.venv/lib/python3.10/site-packages (from pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (1.7.0)
Requirement already satisfied: cfgv>=2.0.0 in ./.venv/lib/python3.10/site-packages (from pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (3.3.1)
Requirement already satisfied: stevedore>=1.20.0 in ./.venv/lib/python3.10/site-packages (from bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (4.0.0)
Requirement already satisfied: GitPython>=1.0.1 in ./.venv/lib/python3.10/site-packages (from bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (3.1.27)
Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (from nodeenv>=0.11.1->pre-commit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 16)) (58.1.0)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.venv/lib/python3.10/site-packages (from packaging->tables>=3.6.1->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 3)) (3.0.9)
Requirement already satisfied: distlib<1,>=0.3.5 in ./.venv/lib/python3.10/site-packages (from virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0->tox->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 9)) (0.3.6)
Requirement already satisfied: gitdb<5,>=4.0.1 in ./.venv/lib/python3.10/site-packages (from GitPython>=1.0.1->bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (4.0.9)
Requirement already satisfied: pbr!=2.1.0,>=2.0.0 in ./.venv/lib/python3.10/site-packages (from stevedore>=1.20.0->bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (5.10.0)
Requirement already satisfied: smmap<6,>=3.0.1 in ./.venv/lib/python3.10/site-packages (from gitdb<5,>=4.0.1->GitPython>=1.0.1->bandit>=1.7.3->flake8-bandit->-r /var/folders/v5/ws7wg4wx6k76gx3t_ylh29lr0000gn/T/tmpk7adulvkrequirements.txt (line 13)) (5.0.0)
.venv/bin/pre-commit install --install-hooks
pre-commit installed at .git/hooks/pre-commit now installs also pre-commit hooks
xmlparsing
Holger Frey 2 years ago
parent
commit
dd04b0ece6
  1. 2
      .flake8
  2. 9
      Makefile

2
.flake8

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
[flake8]
per-file-ignores = tests/*:S101

9
Makefile

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
.PHONY: clean clean-test clean-pyc clean-build docs help
.PHONY: clean coverage coverall devenv install lint prepareenv repo test testall testfunctional tox
.DEFAULT_GOAL := help
define BROWSER_PYSCRIPT
@ -82,13 +82,16 @@ tox: ## run fully isolated tests with tox @@ -82,13 +82,16 @@ tox: ## run fully isolated tests with tox
install: ## install updated project.toml with flint
flit install --pth-file
devenv: ## setup development environment
prepareenv: ## setup virtual environment and install packages
python3 -m venv --prompt sensospot .venv
.venv/bin/pip3 install --upgrade pip
.venv/bin/pip3 install "flit>3.2"
.venv/bin/flit install --pth-file
repo: devenv ## complete project setup with development environment and git repo
devenv: prepareenv ## setup development environment including precommit hooks
.venv/bin/pre-commit install --install-hooks
repo: prepareenv ## complete project setup with development environment and git repo
git init .
git add .
git commit -m "import of project template"

Loading…
Cancel
Save