diff options
author | Cédric Bosdonnat <cbosdonnat@suse.com> | 2017-08-03 16:00:47 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cbosdonnat@suse.com> | 2017-08-03 16:10:32 +0200 |
commit | 41641ed5bb250a800fa2e755cae1db2d41739f0d (patch) | |
tree | 02c88c6e991d8f07ed107ce2ac16bc63e666982a /setup.py | |
parent | b3023c77387b6e738011eef7def6e04d081d19f2 (diff) | |
download | virt-bootstrap.git-41641ed5bb250a800fa2e755cae1db2d41739f0d.tar.gz virt-bootstrap.git-41641ed5bb250a800fa2e755cae1db2d41739f0d.tar.xz virt-bootstrap.git-41641ed5bb250a800fa2e755cae1db2d41739f0d.zip |
Use requirements.txt for dependencies
Later on when we will introduce libguestfs dependency, we would need
to add a dependency_links to setup.py. This is rather hacky and
https://caremad.io/posts/2013/07/setup-vs-requirement/ recommends
using requirements.txt.
Thus, to install the package when all dependencies are already
installed, the following command can be used:
python setup.py install
Otherwise, the recommended way is to use pip as follows:
pip install -r recommends.txt -e .
This will also download the guestfs python binding, build and install
it. However this would be skipped if installed from a linux distro
package if this one provides the egg-info.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -113,10 +113,6 @@ setuptools.setup( 'pylint': CheckPylint }, - # virt-bootstrap uses passlib to compute the hash of - # root password for root file system. - install_requires=['passlib>=1.6.1'], - tests_require=['mock>=2.0'], extras_require={ |