Commits

Anonymous committed a474d65

Allow _ in package names, previously .egg-info directories for packages with _ in were not created correctly

Comments (0)

Files changed (1)

paste/script/create_distro.py

                       action='store_true',
                       help="Show where the files in the given (already created) directory came from (useful when using multiple templates)")
 
-    _bad_chars_re = re.compile('[^a-zA-Z0-9]')
+    _bad_chars_re = re.compile('[^a-zA-Z0-9_]')
 
     default_verbosity = 1
     default_interactive = 1