Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

python setup.py bdist_rpm failed if executed from a source distribution of gitdb #25

Copy link
Copy link
Closed
@Benoit-DunandLaisin

Description

@Benoit-DunandLaisin
Issue body actions

Hi,

Using the gitdb-0.6.4.tar.gz and then:

tar -xvf gitdb-0.6.4.tar.gz
cd gitdb-0.6.4
python setup.py bdist_rpm

The last command failed:

RPM build errors:
File not found: /xxx/gitdb-0.6.4/build/bdist.linux-x86_64/rpm/BUILDROOT/gitdb-0.6.4-1.x86_64/usr/local/lib/python2.7/dist-packages/gitdb/_perf.so
error: command 'rpmbuild' failed with exit status 1

Same command from a git clone works.
The problem is that MANIFEST.in is not included in source distribution.
To correct it, please include MANIFEST.in in MANIFEST.in file.

Regards.

Here is my patch:

diff --git a/MANIFEST.in b/MANIFEST.in
index 597944f..b939b5d 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -3,6 +3,7 @@ include LICENSE
 include CHANGES
 include AUTHORS
 include README
+include MANIFEST.in

 include gitdb/_fun.c
 include gitdb/_delta_apply.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.