Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 758823 - Don't create egg-info directories when populating virtua…
Browse files Browse the repository at this point in the history
…lenv; r=ted

This patch basically bypasses setup.py for pure Python packages. Instead
of producing .egg-info directories in the source tree, it merely
installs .pth files pointing back to the source directory. As a result,
this is less junk in the source tree.

The .hgignore and .gitignore entries for egg-info directories have been
removed because there should no longer be egg-info directories any more.
People should clean up these orphaned directories manually. This can be
accomplished by running:

  $ hg status -u | grep .egg-info | xargs rm -rf
  $ git ls-files -o '*.egg-info*' | xargs rm -rf
  • Loading branch information
indygreg committed Sep 4, 2012
1 parent b1a82fd commit f61ea38
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,3 @@ parser/html/java/javaparser/
.project
.cproject
.settings/

# Python stuff installed at build-time
*.egg-info/
3 changes: 0 additions & 3 deletions .hgignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,3 @@ _OPT\.OBJ/
\.project$
\.cproject$
\.settings/

# Python stuff installed at build-time
\.egg-info/
20 changes: 10 additions & 10 deletions build/virtualenv/packages.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
setup.py:python/simplejson-2.1.1:develop
setup.py:testing/mozbase/manifestdestiny:develop
setup.py:testing/mozbase/mozinfo:develop
setup.py:testing/mozbase/mozinstall:develop
setup.py:testing/mozbase/mozlog:develop
setup.py:testing/mozbase/mozprocess:develop
setup.py:testing/mozbase/mozprofile:develop
setup.py:testing/mozbase/mozrunner:develop
setup.py:python/blessings:develop
setup.py:python/mozbuild:develop
simplejson.pth:python/simplejson-2.1.1
manifestdestiny.pth:testing/mozbase/manifestdestiny
mozinfo.pth:testing/mozbase/mozinfo
mozinstall.pth:testing/mozbase/mozinstall
mozlog.pth:testing/mozbase/mozlog
mozprocess.pth:testing/mozbase/mozprocess
mozprofile.pth:testing/mozbase/mozprofile
mozrunner.pth:testing/mozbase/mozrunner
blessings.pth:python/blessings
mozbuild.pth:python/mozbuild
mozilla.pth:build
mozilla.pth:config

0 comments on commit f61ea38

Please sign in to comment.