mirror of
https://github.com/qemu/qemu.git
synced 2024-11-30 23:33:51 +08:00
0e7647aa8a
This patch adds the "qemu" namespace package to the $build/tests/venv directory. It does so in "editable" mode, which means that changes to the source python directory will actively be reflected by the venv. This patch also then removes any sys.path hacking from the avocado test scripts directly. By doing this, the environment of where to find these packages is managed entirely by the virtual environment and not by the scripts themselves. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220526000921.1581503-7-jsnow@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
7 lines
286 B
Plaintext
7 lines
286 B
Plaintext
# Add Python module requirements, one per line, to be installed
|
|
# in the tests/venv Python virtual environment. For more info,
|
|
# refer to: https://pip.pypa.io/en/stable/user_guide/#id1
|
|
# Note that qemu.git/python/ is always implicitly installed.
|
|
avocado-framework==88.1
|
|
pycdlib==1.11.0
|