Installing a project in development mode was changed to using pip directly. This removed flit from the installed packages - but it's needed to publish to pypi.
@ -79,8 +76,11 @@ coverall: lint ## full test suite, check code coverage and open coverage report
@@ -79,8 +76,11 @@ coverall: lint ## full test suite, check code coverage and open coverage report
coverage html
$(BROWSER) htmlcov/index.html
tox:## run fully isolated tests with tox
tox
nox:## run fully isolated tests with nox
nox
tox:## old habits die hard: typo-squatting to use nox
nox
docs:## build the documentation using mkdocs
mkdocs build
@ -88,14 +88,14 @@ docs: ## build the documentation using mkdocs
@@ -88,14 +88,14 @@ docs: ## build the documentation using mkdocs
serve-docs:docs## build the documentation and serve them in a web server
mkdocs serve
install:## install updated project.toml with flint
flit install --pth-file
install:## install updated project.toml
.venv/bin/pip3 install -e ".[docs,dev,test]"
prepareenv:## setup virtual environment and install packages
rm -fr .venv/
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
.venv/bin/pip3 install --upgrade pip wheel
.venv/bin/pip3 install -e ".[docs,dev,test]"
devenv:prepareenv## setup development environment including precommit hooks
.venv/bin/pre-commit install --install-hooks
@ -107,5 +107,4 @@ repo: prepareenv ## complete project setup with development environment and git
@@ -107,5 +107,4 @@ repo: prepareenv ## complete project setup with development environment and git
@ -43,6 +43,11 @@ There is a `columns` module available, providing constans that define the column
@@ -43,6 +43,11 @@ There is a `columns` module available, providing constans that define the column
## Avaliable public functions:
All public functions return a [pandas DataFrame][pandas] object.
Be aware that some columns might contain no values. This is depending on the parsing
method (xml or csv) and if a parameters file could be found or not.
- **parse_folder(path_to_folder)**
Tries the `parse_xml_folder()` function first and if an error occurs,
it falls back to the `parse_csv_folder()`
@ -88,3 +93,4 @@ To generate the documentation pages use `make docs` or `make serve-docs` for
@@ -88,3 +93,4 @@ To generate the documentation pages use `make docs` or `make serve-docs` for
starting a webserver with the generated documentation