Switched to setup.cfg for deps
parent
8381756693
commit
16c3edfb17
2
Makefile
2
Makefile
|
@ -7,7 +7,7 @@ PYTHON=python3.6
|
|||
# =====RECIPES=====
|
||||
.venv/bin/activate: setup.py
|
||||
'$(PYTHON)' -m venv .venv
|
||||
.venv/bin/pip install -e .[ci] -e .[lint] -e .[dev]
|
||||
.venv/bin/pip install -e .[develop]
|
||||
|
||||
venv: .venv/bin/activate
|
||||
.PHONY: venv
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
[options.extras_require]
|
||||
# Used to run the tests inside the CICD pipeline
|
||||
ci =
|
||||
tox==3.21.1
|
||||
|
||||
# Used inside Tox for running tests
|
||||
test =
|
||||
pytest==6.2.3
|
||||
pytest-cov==2.11.1
|
||||
|
||||
# Used inside tox for linting
|
||||
lint =
|
||||
black==20.8b1
|
||||
flake8==3.8.4
|
||||
|
||||
# Required for the developer
|
||||
develop =
|
||||
%(ci)s
|
||||
%(lint)s
|
||||
jedi==0.18.0
|
16
setup.py
16
setup.py
|
@ -7,20 +7,4 @@ setup(
|
|||
description="A utility to simply backing up services.",
|
||||
# TODO add license
|
||||
packages=["app", "tests"],
|
||||
extras_require={
|
||||
"ci": [
|
||||
"tox==3.21.1",
|
||||
],
|
||||
"test": {
|
||||
"pytest==6.2.3",
|
||||
"pytest-cov==2.11.1",
|
||||
},
|
||||
"lint": [
|
||||
"black==20.8b1",
|
||||
"flake8==3.8.4",
|
||||
],
|
||||
"dev": [
|
||||
"jedi==0.18.0",
|
||||
],
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue