Commits

tarek  committed 25f4f8c

fixed doc - fixes #86

  • Participants
  • Parent commits fd2cd8a
  • Branches 0.6-maintenance

Comments (0)

Files changed (1)

File docs/pkg_resources.txt

     ``Requirement`` string, as a distribution name, or a PyPI project name.
     All non-alphanumeric runs are condensed to single "-" characters, such that
     a name like "The $$$ Tree" becomes "The-Tree".  Note that if you are
-    generating a filename from this value you should replace the "-" characters
-    with underscores ("_") because setuptools and the distutils
+    generating a filename from this value you should combine it with a call to
+    ``to_filename()`` so all dashes ("-") are replaced by underscores ("_").
+    See ``to_filename()``.
 
 ``safe_version(version)``
     Similar to ``safe_name()`` except that spaces in the input become dots, and
 
  * Fix cache dir defaults on Windows when multiple environment vars are needed
    to construct a path.
- 
+
 0.6c4
  * Fix "dev" versions being considered newer than release candidates.