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

Buildbot trac trac at buildbot.net
Sat Sep 27 06:54:17 UTC 2014


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

Comment (by sa2ajj):

 I did not try with wheels yet, but with eggs (and install command) the
 files are finally there with this small patch:

 {{{
 $ git diff setup.py
 diff --git a/www/base/setup.py b/www/base/setup.py
 index 91cc770..3ddbd2d 100644
 --- a/www/base/setup.py
 +++ b/www/base/setup.py
 @@ -33,6 +33,14 @@ setup_www_plugin(
      url='http://buildbot.net/',
      license='GNU GPL',
      packages=['buildbot_www'],
 +    package_data={
 +        '': [
 +            'VERSION',
 +            'static/*',
 +            'static/img/*',
 +            'static/fonts/*',
 +        ]
 +    },
      entry_points="""
          [buildbot.www]
          base = buildbot_www:ep
 }}}

 I believe it's gonna be fine with wheel, but it's better safe than sorry
 :)

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


More information about the bugs mailing list