Skip to content
Snippets Groups Projects
Verified Commit 5449a726 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

WIP: Modernizing setup.

parent ce4810be
Branches
Tags
2 merge requests!175BUG: Request responses without the "Set-Cookie" header no longer overwrite the...,!164Fix mypy errors
Pipeline #57998 passed with warnings
...@@ -70,8 +70,7 @@ unittest_py3.8: ...@@ -70,8 +70,7 @@ unittest_py3.8:
script: &python_test_script script: &python_test_script
# Python docker has problems with tox and pip so use plain pytest here # Python docker has problems with tox and pip so use plain pytest here
- touch ~/.pylinkahead.ini - touch ~/.pylinkahead.ini
- pip install pynose pytest pytest-cov jsonschema>=4.4.0 setuptools - pip install .[test]
- pip install .
- python -m pytest unittests - python -m pytest unittests
# This needs to be changed once Python 3.9 isn't the standard Python in Debian # This needs to be changed once Python 3.9 isn't the standard Python in Debian
......
...@@ -187,11 +187,17 @@ def setup_package(): ...@@ -187,11 +187,17 @@ def setup_package():
'PyYAML>=5.4.1', 'PyYAML>=5.4.1',
'future', 'future',
], ],
extras_require={'keyring': ['keyring>=13.0.0'], extras_require={
'jsonschema': ['jsonschema>=4.4.0']}, 'jsonschema': ['jsonschema>=4.4.0'],
'keyring': ['keyring>=13.0.0'],
"test": [
"pytest",
"pytest-cov",
"coverage>=4.4.2",
"jsonschema>=4.4.0",
]
},
setup_requires=["pytest-runner>=2.0,<3dev"], setup_requires=["pytest-runner>=2.0,<3dev"],
tests_require=["pytest", "pytest-cov", "coverage>=4.4.2",
"jsonschema>=4.4.0"],
package_data={ package_data={
'linkahead': ['py.typed', 'cert/indiscale.ca.crt', 'schema-pycaosdb-ini.yml'], 'linkahead': ['py.typed', 'cert/indiscale.ca.crt', 'schema-pycaosdb-ini.yml'],
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment