pbr doesn't work when there's subdirectory in url
Bug #1786306 reported by
Wei T
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Fix Released
|
Undecided
|
Wei T |
Bug Description
pip supports pulling module/package from VCS that the setup.py is not at root directory https:/
e.g.
```
git+https:/
```
error msg when run `python setup.py sdist`
```
pkg_resources.
```
Changed in pbr: | |
assignee: | nobody → Wei T (nuaafe) |
Changed in pbr: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/590066 /git.openstack. org/cgit/ openstack- dev/pbr/ commit/ ?id=bca35333bcc 1102040158ca97f 2aac3bd932430b
Committed: https:/
Submitter: Zuul
Branch: master
commit bca35333bcc1102 040158ca97f2aac 3bd932430b
Author: Wei Tie <email address hidden>
Date: Wed Aug 8 18:03:31 2018 -0700
Support subdirectory in the url
Pip supports git+https:/ /foo.com/ zipball# egg=bar& subdirectory= baz
when setup.py is not at the root directory of the project [1]. This
commit keeps pbr function in this case.
[1] https:/ /pip.pypa. io/en/latest/ reference/ pip_install/ #vcs-support
Change-Id: I70dac755caacc8 9859a8646c090b6 9800401bbc0
Closes-Bug: 1786306
Signed-off-by: Wei Tie <email address hidden>