Commits

Ronny Pfannschmidt committed 07bd0db

use cmd.distribution, kill custom init

  • Participants
  • Parent commits 441a314

Comments (0)

Files changed (3)

File genscript/distutils/sdist_module.py

 
 
 class sdist_module(SdistModuleMixin, Command):
-    def __init__(self, dist):
-        Command.__init__(self, dist)
-        SdistModuleMixin.__init__(self, dist)
+    pass

File genscript/distutils2/sdist_module.py

 
 
 class sdist_module(SdistModuleMixin, Command):
-    def __init__(self, dist):
-        SdistModuleMixin.__init__(self, dist)
-        Command.__init__(self, dist)
+    pass

File genscript/module_maker.py

         ('script', None, 'the script to enrich')
     ]
 
-    def __init__(self, dist):
-        self.__dist = dist
 
     def initialize_options(self):
         self.script = None
         pass
 
     def run(self):
-
-        self.__dist.dist_files.append(("sdist_module", ''))
-        
+        self.distribution.dist_files.append(('sdist_module', '', self.script))