can't install requirements by Makefile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Won't Fix
|
Medium
|
Keisuke Se |
Bug Description
`*requirements` target name is wrong, isn't it?.
```
$ make pip-test-
make: Nothing to be done for 'pip-test-
$ make pip-test-
Installing cloud-init test dependencies...
pip install -r "pip-test-
Could not open requirements file: [Errno 2] No such file or directory: 'pip-test-
Makefile:30: recipe for target 'pip-test-
make: *** [pip-test-
```
Makefile
```
pip-requirements:
@echo "Installing cloud-init dependencies..."
$(PIP_INSTALL) -r "$@.txt" -q
pip-test-
@echo "Installing cloud-init test dependencies..."
$(PIP_INSTALL) -r "$@.txt" -q
```
```
$ ls -l *requirements.txt
-rw-r--r-- 1 vagrant vagrant 948 11月 30 15:12 requirements.txt
-rw-r--r-- 1 vagrant vagrant 71 11月 30 15:12 test-requiremen
```
Thank you for taking the time to report this bug. In an effort to keep
an up-to-date and valid list of bugs to work on, I have reviewed this
report verifying it still requires effort and occurs on a supported
version of Ubuntu.
It looks like you have a patch ready to go. Would you be willing to
submit a merge proposal with that patch? If so take a look at the
hacking document here:
https:/ /cloudinit. readthedocs. io/en/latest/ topics/ hacking. html
Thanks!