/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-02 14:44:38 UTC
  • mto: This revision was merged to the branch mainline in revision 716.
  • Revision ID: jelmer@samba.org-20110302144438-ss8iude8tkg0t0y0
Generate pickles file for './setup.py sdist'

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
from distutils.core import setup, Command
7
7
from distutils.command.install_data import install_data
8
8
from distutils.command.build import build
 
9
from distutils.command.sdist import sdist
9
10
import os
10
11
import sys
11
12
 
79
80
    sub_commands.append(('build_credits', is_versioned))
80
81
 
81
82
 
 
83
class SourceDist(sdist):
 
84
    sub_commands = sdist.sub_commands[:]
 
85
    sub_commands.append(('build_credits', is_versioned))
 
86
 
 
87
 
82
88
class InstallData(install_data):
83
89
 
84
90
    def run(self):
169
175
        cmdclass={'install_data': InstallData,
170
176
                  'build_credits': CreateCredits,
171
177
                  'build': BuildData,
 
178
                  'sdist': SourceDist,
172
179
                  'check': Check}
173
180
        )