Fix some requirements and installation instruction
- Add coverage to test-requirements which was causing import error when running `make test` - Add "make" to bindep.txt for rpm package - Add "python-dev/python-devel" to bindep.txt - Add some instration guide example, how to install those dependency packages Change-Id: Ib4a19e734e68ac4d3be7ea13dc72a97b4e209b2b
This commit is contained in:
parent
ac702cf546
commit
d7bb58ae80
13
README.md
13
README.md
|
@ -232,8 +232,19 @@ Quick Start
|
|||
* liberasurecode v1.2.0 or greater [3]
|
||||
* Erasure code backend libraries, gf-complete and Jerasure [1],[2], ISA-L [4] etc
|
||||
|
||||
Install PyECLib::
|
||||
An example for ubuntu to install dependency packages:
|
||||
$ sudo apt-get install build-essential python-dev python-pip liberasurecode-dev
|
||||
$ sudo pip install -U bindep -r test-requirement.txt
|
||||
|
||||
If you want to confirm all dependency packages installed succuessfully, try:
|
||||
$ sudo bindep -f bindep.txt
|
||||
|
||||
That shows missing dependency packages for you, http://docs.openstack.org/infra/bindep/
|
||||
|
||||
*Note*: currently liberasurecode-dev/liberasurecode-devel in package repo is older
|
||||
than v1.2.0
|
||||
|
||||
Install PyECLib::
|
||||
$ sudo python setup.py install
|
||||
|
||||
Run test suite included::
|
||||
|
|
|
@ -3,5 +3,8 @@
|
|||
|
||||
build-essential [platform:dpkg]
|
||||
gcc [platform:rpm]
|
||||
make [platform:rpm]
|
||||
liberasurecode-dev [platform:dpkg]
|
||||
liberasurecode-devel [platform:rpm]
|
||||
python-dev [platform:dpkg]
|
||||
python-devel [platform:rpm]
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
|
||||
coverage
|
||||
nose
|
||||
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 # BSD
|
||||
|
|
Loading…
Reference in New Issue