Ticket #3829: 3829.diff
File 3829.diff, 545 bytes (added by , 18 years ago) |
---|
-
setup.py
=== modified file 'setup.py'
21 21 for i, dirname in enumerate(dirnames): 22 22 if dirname.startswith('.'): del dirnames[i] 23 23 if '__init__.py' in filenames: 24 package = dirpath[len_root_dir:].lstrip( '/').replace('/', '.')24 package = dirpath[len_root_dir:].lstrip(os.sep).replace(os.sep, os.curdir) 25 25 packages.append(package) 26 26 else: 27 27 data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])