[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 18/24] python/qemu: add qemu package itself to pipenv
From: |
John Snow |
Subject: |
[PATCH v4 18/24] python/qemu: add qemu package itself to pipenv |
Date: |
Thu, 11 Feb 2021 13:58:50 -0500 |
This adds the python qemu packages themselves to the pipenv manifest.
'pipenv sync' will create a virtual environment sufficient to use the SDK.
'pipenv sync --dev' will create a virtual environment sufficient to use
and test the SDK (with pylint, mypy, isort, flake8, etc.)
The qemu packages are installed in 'editable' mode; all changes made to
the python package inside the git tree will be reflected in the
installed package without reinstallation. This includes changes made
via git pull and so on.
Signed-off-by: John Snow <jsnow@redhat.com>
---
python/Pipfile | 1 +
python/Pipfile.lock | 9 +++++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/python/Pipfile b/python/Pipfile
index 75b96f29d87..214fb175e7a 100644
--- a/python/Pipfile
+++ b/python/Pipfile
@@ -10,6 +10,7 @@ mypy = ">=0.770"
pylint = ">=2.6.0"
[packages]
+qemu = {editable = true,path = "."}
[requires]
python_version = "3.6"
diff --git a/python/Pipfile.lock b/python/Pipfile.lock
index 201e735c27a..4b4402f49e5 100644
--- a/python/Pipfile.lock
+++ b/python/Pipfile.lock
@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
- "sha256":
"b89c7a1b8a414f2a4cd708964123fb427d55419ee0b39e088bf2e7d4fbc11979"
+ "sha256":
"e38d142c3fadc2f2ed849e86f7ebd14e25974dc12228751490aef5a9ee074f2f"
},
"pipfile-spec": 6,
"requires": {
@@ -15,7 +15,12 @@
}
]
},
- "default": {},
+ "default": {
+ "qemu": {
+ "editable": true,
+ "path": "."
+ }
+ },
"develop": {
"astroid": {
"hashes": [
--
2.29.2
- [PATCH v4 10/24] python: move pylintrc into setup.cfg, (continued)
- [PATCH v4 10/24] python: move pylintrc into setup.cfg, John Snow, 2021/02/11
- [PATCH v4 11/24] python: add pylint to pipenv, John Snow, 2021/02/11
- [PATCH v4 07/24] python: add directory structure README.rst files, John Snow, 2021/02/11
- [PATCH v4 12/24] python: move flake8 config to setup.cfg, John Snow, 2021/02/11
- [PATCH v4 13/24] python: Add flake8 to pipenv, John Snow, 2021/02/11
- [PATCH v4 18/24] python/qemu: add qemu package itself to pipenv,
John Snow <=
- [PATCH v4 23/24] python: add .gitignore, John Snow, 2021/02/11
- [PATCH v4 22/24] python: add Makefile for some common tasks, John Snow, 2021/02/11
- [PATCH v4 21/24] python: add excluded dirs to flake8 config, John Snow, 2021/02/11
- [PATCH v4 24/24] gitlab: add python linters to CI, John Snow, 2021/02/11
- [PATCH v4 15/24] python: add mypy to pipenv, John Snow, 2021/02/11
- [PATCH v4 20/24] python: add pytest and tests, John Snow, 2021/02/11