setup.py
def run(self):
        """
        Copy the required directory to the build directory and super().run()
        """
        self.announce("Moving scripts files", level=3)
        # Scripts were already built in a previous step
        self.skip_build = True
        bin_dir = self.distribution.bin_dir
        scripts_dirs = [os.path.join(bin_dir, _dir) for _dir in
                        os.listdir(bin_dir) if
                        os.path.isdir(os.path.join(bin_dir, _dir))]
        for scripts_dir in scripts_dirs:
            shutil.move(scripts_dir,
                        os.path.join(self.build_dir,
                                     os.path.basename(scripts_dir)))
        # Mark the scripts for installation, adding them to 
        # distribution.scripts seems to ensure that the setuptools' record 
        # writer appends them to installed-files.txt in the package's egg-info
        self.distribution.scripts = scripts_dirs
        super(InstallCMakeScripts, self).run()

        Copy the required directory to the build directory and super().run()
        
Copy the required directory to the build directory and super().run()
Copy the required directory to the build directory and super () . run ()
def run(self):
        self.announce("Moving scripts files", level=3)
        self.skip_build = True
        bin_dir = self.distribution.bin_dir
        scripts_dirs = [os.path.join(bin_dir, _dir) for _dir in
                        os.listdir(bin_dir) if
                        os.path.isdir(os.path.join(bin_dir, _dir))]
        for scripts_dir in scripts_dirs:
            shutil.move(scripts_dir,
                        os.path.join(self.build_dir,
                                     os.path.basename(scripts_dir)))
        self.distribution.scripts = scripts_dirs
        super(InstallCMakeScripts, self).run()
def run ( self ) : self . announce ( "Moving scripts files" , level = 3 ) self . skip_build = True bin_dir = self . distribution . bin_dir scripts_dirs = [ os . path . join ( bin_dir , _dir ) for _dir in os . listdir ( bin_dir ) if os . path . isdir ( os . path . join ( bin_dir , _dir ) ) ] for scripts_dir in scripts_dirs : shutil . move ( scripts_dir , os . path . join ( self . build_dir , os . path . basename ( scripts_dir ) ) ) self . distribution . scripts = scripts_dirs super ( InstallCMakeScripts , self ) . run ( )
Copy the required directory to the build directory and super().run()
Copy the required directory to the build directory and super () . run ()
"""
        Copy the required directory to the build directory and super().run()
        """ # Scripts were already built in a previous step # Mark the scripts for installation, adding them to  # distribution.scripts seems to ensure that the setuptools' record  # writer appends them to installed-files.txt in the package's egg-info
self