Skip to content

Commit

Permalink
fix setup
Browse files Browse the repository at this point in the history
  • Loading branch information
vvmruder committed May 30, 2023
1 parent e602d48 commit 8508e04
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 7 deletions.
9 changes: 7 additions & 2 deletions .codacy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
engines:
bandit:
exclude_paths:
- "doc/source/conf.py"
- "src/geolink2oereb/lib/interfaces/oerebkrmtrsfr/v2_0/classes.py"

exclude_paths:
- src/geolink2oereb/lib/interfaces/oerebkrmtrsfr/v2_0/classes.py
- "src/geolink2oereb/lib/interfaces/oerebkrmtrsfr/v2_0/classes.py"
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
CI: true
run: |
python -V
pip install -r requirements.txt
git --no-pager diff --check `git log --oneline | tail -1 | cut --fields=1 --delimiter=' '`
flake8
py.test -vv --cov-config .coveragerc --cov geolink2oereb tests
make .venv/requirements.timestamp
make git-attributes
make lint
make test
- name: Send coverage
run: |
bash <(curl -s https://codecov.io/bash)
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ check: git-attributes lint test
.PHONY: clean
clean:
rm -rf .venv
rm -rf .pytest_cache
rm -rf build
rm -rf dist
rm -f .coverage


.PHONY: build
Expand All @@ -40,6 +44,7 @@ build: .venv/requirements.timestamp

.PHONY: deploy
deploy: .venv/requirements.timestamp
# .venv/bin/twine upload -r testpypi dist/*
.venv/bin/python setup.py clean sdist bdist_wheel upload


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
OEREBlex geoLink Formatter
==========================

|![license](https://img.shields.io/pypi/l/geolink2oereb.svg)|![python version](https://img.shields.io/pypi/pyversions/geolink2oereb.svg)|![format](https://img.shields.io/pypi/format/geolink2oereb.svg)|![status](https://img.shields.io/pypi/status/geolink2oereb.svg)|![build status](https://github.com/openoereb/geolink2oereb/actions/workflows/ci.yml/badge.svg)| |coverage report| |dependencies| |code quality|
|![license](https://img.shields.io/pypi/l/geolink2oereb.svg)|![python version](https://img.shields.io/pypi/pyversions/geolink2oereb.svg)|![format](https://img.shields.io/pypi/format/geolink2oereb.svg)|![status](https://img.shields.io/pypi/status/geolink2oereb.svg)|![build status](https://github.com/openoereb/geolink2oereb/actions/workflows/ci.yml/badge.svg)|coverage report|dependencies|code quality|

This is a small library, meant to be used in combination with OEREBlex. It is capable of parsing a received
geoLink response (XML) and converting it to multiple formats, such as HTML, which can be styled for
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Sphinx==6.2.1
sphinx_rtd_theme==1.2.1
pyramid_oereb[recommend]==2.4.3
six==1.16.0
twine==4.0.2
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
description='Transforms a geolink to OeREBKRMtrsfr_V2_0 document entities',
license='BSD',
long_description='{readme}\n\n{changelog}'.format(readme=readme, changelog=changelog),
long_description_content_type='text/markdown',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand Down

0 comments on commit 8508e04

Please sign in to comment.