-
-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: Do the same transformation to egg-info dirs that pkg_resource…
…s does (#1051) * Add a test for skipsdist=True with hyphenated project names * Do the same transformation to egg_info dirs that pkg_resources does To determine whether we should re-install an egg, we look for an .egg-info directory based on the output of `setup.py --name`, but .egg-info directories have their dashes transformed into underscores by pkg_resources.to_filename. When we look for an .egg-info directory, we should apply the same transformation. * DRY the test which I WETted
- Loading branch information
1 parent
8944dc1
commit ea53afd
Showing
4 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Do the same transformation to egg_info dirs that pkg_resources does. This makes | ||
it possible for hyphenated names to use the develop-inst-noop optimization (cf. | ||
#910), which previously only worked with non-hyphenated egg names - by | ||
:user:`hashbrowncipher`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters