setup.py with pbr attempts to do git operations in tarball
Bug #1374677 reported by
Adam Young
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Incomplete
|
Medium
|
Unassigned |
Bug Description
While building out of git tree, for example in an rpm spec file:
%{__python} setup.py build
will error out with
error in setup command: Error parsing /home/ayoung/
This is true even if the tarball was created with sdist.
The correct logic should be: if the source is not in a git repository and the PKG-INFO has been created, use the existing value.
To post a comment you must log in.
Adam, which version of pbr do you have?