[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 19/25] python/qemu: add qemu package itself to pipenv
From: |
John Snow |
Subject: |
[PATCH v6 19/25] python/qemu: add qemu package itself to pipenv |
Date: |
Wed, 12 May 2021 19:12:35 -0400 |
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>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Tested-by: Cleber Rosa <crosa@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 fb7c8d142ee..fb23455eadd 100644
--- a/python/Pipfile
+++ b/python/Pipfile
@@ -10,6 +10,7 @@ mypy = ">=0.770"
pylint = ">=2.7.0"
[packages]
+qemu = {editable = true,path = "."}
[requires]
python_version = "3.6"
diff --git a/python/Pipfile.lock b/python/Pipfile.lock
index 030d5683147..5d3de43609d 100644
--- a/python/Pipfile.lock
+++ b/python/Pipfile.lock
@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
- "sha256":
"e1f54e4d7fc287bdff731659614f5f9bbea2f1aee122ba04506ab26c4007440e"
+ "sha256":
"986164b4c690953890066f288b48c3d84c63df86fc8fa30a26e9001d5b0968e0"
},
"pipfile-spec": 6,
"requires": {
@@ -15,7 +15,12 @@
}
]
},
- "default": {},
+ "default": {
+ "qemu": {
+ "editable": true,
+ "path": "."
+ }
+ },
"develop": {
"astroid": {
"hashes": [
--
2.30.2
- Re: [PATCH v6 13/25] python: add excluded dirs to flake8 config, (continued)
- [PATCH v6 14/25] python: Add flake8 to pipenv, John Snow, 2021/05/12
- [PATCH v6 15/25] python: move mypy.ini into setup.cfg, John Snow, 2021/05/12
- [PATCH v6 17/25] python: move .isort.cfg into setup.cfg, John Snow, 2021/05/12
- [PATCH v6 16/25] python: add mypy to pipenv, John Snow, 2021/05/12
- [PATCH v6 18/25] python/qemu: add isort to pipenv, John Snow, 2021/05/12
- [PATCH v6 19/25] python/qemu: add qemu package itself to pipenv,
John Snow <=
- [PATCH v6 20/25] python: add devel package requirements to setuptools, John Snow, 2021/05/12
[PATCH v6 21/25] python: add avocado-framework and tests, John Snow, 2021/05/12
[PATCH v6 22/25] python: add Makefile for some common tasks, John Snow, 2021/05/12