Ejemplo n.º 1
0
 def write_script(self, script_name, contents, mode="t", *ignored):
     # Run the normal version
     easy_install.write_script(self, script_name, contents, mode, *ignored)
     # Save the script install directory in the distribution object.
     # This is the same thing that is returned by the setup function.
     self.distribution.script_install_dir = self.script_dir
Ejemplo n.º 2
0
 def write_script(self, script_name, contents, mode="t", *ignored):
     # Run the normal version
     easy_install.write_script(self, script_name, contents, mode, *ignored)
     # Save the script install directory in the distribution object.
     # This is the same thing that is returned by the setup function.
     self.distribution.script_install_dir = self.script_dir