Ignore:
Timestamp:
Jun 6, 2016, 4:48:20 PM (9 years ago)
Author:
Yuri Dario
Message:

python: generate both 8.3 and long names for pyd dynamic libraries. fixes ticket#185.

Location:
python/trunk/Lib/distutils/command
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk/Lib/distutils/command/build_ext.py

    r391 r775  
    669669        ext_path = string.split(ext_name, '.')
    670670        # OS/2 has an 8 character module (extension) limit :-(
    671         if os.name == "os2":
    672             ext_path[len(ext_path) - 1] = ext_path[len(ext_path) - 1][:8]
     671        # YD build 8.3 moved to emxcompiler.py
     672        #if os.name == "os2":
     673        #    ext_path[len(ext_path) - 1] = ext_path[len(ext_path) - 1][:8]
    673674        # extensions in debug_mode are named 'module_d.pyd' under windows
    674675        so_ext = get_config_var('SO')
  • python/trunk/Lib/distutils/command/install_lib.py

    r391 r775  
    113113    def install(self):
    114114        if os.path.isdir(self.build_dir):
    115             outfiles = self.copy_tree(self.build_dir, self.install_dir)
     115            outfiles = self.copy_tree(self.build_dir, self.install_dir, preserve_symlinks=1)
    116116        else:
    117117            self.warn("'%s' does not exist -- no Python modules to install" %
Note: See TracChangeset for help on using the changeset viewer.