~jordens/qutip/debhelper-seq

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: jrjohansson
  • Date: 2012-06-08 04:35:43 UTC
  • Revision ID: svn-v4:06923d92-4470-8663-e735-7fc405ca1ebe:qutip:2371
fix setup.py so that clean command can take the argument -a (used by debian package builder on launchpad)

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
#------ clean command for removing .pyc files -----------------#
144
144
 
145
145
class CleanCommand(Command):
146
 
    user_options = [ ]
 
146
    user_options = [("all", "a", "All")]
147
147
 
148
148
    def initialize_options(self):
149
149
        self._clean_me = [ ]
 
150
        self.all = None
150
151
        for root, dirs, files in os.walk('.'):
151
152
            for f in files:
152
153
                if f.endswith('.pyc'):