summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorCédric Bosdonnat <cbosdonnat@suse.com>2017-08-03 16:00:47 +0200
committerCédric Bosdonnat <cbosdonnat@suse.com>2017-08-03 16:10:32 +0200
commit41641ed5bb250a800fa2e755cae1db2d41739f0d (patch)
tree02c88c6e991d8f07ed107ce2ac16bc63e666982a /setup.py
parentb3023c77387b6e738011eef7def6e04d081d19f2 (diff)
downloadvirt-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-xsetup.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 54e24a2..0d047c3 100755
--- a/setup.py
+++ b/setup.py
@@ -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={