[Buildbot] #2883: `python setup.py bdist_wheel` produces an empty package

Buildbot trac trac at buildbot.net
Sun Sep 28 18:27:44 UTC 2014


#2883: `python setup.py bdist_wheel` produces an empty package
-------------------+-----------------------
Reporter:  dustin  |       Owner:  sa2ajj
    Type:  defect  |      Status:  assigned
Priority:  major   |   Milestone:  0.9.0
 Version:  0.8.9   |  Resolution:
Keywords:  pkg     |
-------------------+-----------------------

Comment (by sa2ajj):

 A few comments.

 The PR I submitted will not work since it's not exactly what I was
 testing.

 The root cause for the failure Carlo
 [http://sourceforge.net/p/buildbot/mailman/message/32876476/ described] is
 because globbing in `setuptools` includes everything: both directories and
 files (see
 [https://bitbucket.org/pypa/setuptools/src/b01dd795c870fab89ca1afda74dc8520d6cfeb75/setuptools/command/build_py.py?at=default#cl-98]).

 While preparing the PR, I used my "custom" `build_py`, but it was based on
 the one available in `distutils` and the corresponding part there looks
 like:

 {{{
             files.extend([fn for fn in filelist if fn not in files
                 and os.path.isfile(fn)])
 }}}

 So considerying @tardyp's suggestion in PR, I'll update it and include a
 functionality to generate correct `package_data` content (files only).

 I'll file a bug against `setuptools`.

--
Ticket URL: <http://trac.buildbot.net/ticket/2883#comment:13>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list