diff options
| author | Jannis Leidel <jannis@leidel.info> | 2009-10-21 05:21:40 +0200 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2009-10-21 05:21:40 +0200 |
| commit | 8aad93295cfbf73567bd4ba7411b67d62717693c (patch) | |
| tree | 1f9705a61bcca10d68039f4abd35d0549d233123 /bin | |
| parent | feeddc5d38b3c53c4b7b010600589b5b7f92b1db (diff) | |
| download | virtualenv-8aad93295cfbf73567bd4ba7411b67d62717693c.tar.gz | |
Moved support-files in a package to get rid of the package_data hack and reliably distribute them
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/rebuild-script.py | 4 | ||||
| -rw-r--r-- | bin/refresh-support-files.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/rebuild-script.py b/bin/rebuild-script.py index 6ff7cc0..3ed31ef 100644 --- a/bin/rebuild-script.py +++ b/bin/rebuild-script.py @@ -1,5 +1,5 @@ """ -Helper script to rebuild virtualenv.py from support-files +Helper script to rebuild virtualenv.py from virtualenv_support """ import re @@ -28,7 +28,7 @@ def rebuild(): varname = match.group(2) data = match.group(3) print 'Found reference to file %s' % filename - f = open(os.path.join(here, '..', 'support-files', filename), 'rb') + f = open(os.path.join(here, '..', 'virtualenv_support', filename), 'rb') c = f.read() f.close() new_data = c.encode('zlib').encode('base64') diff --git a/bin/refresh-support-files.py b/bin/refresh-support-files.py index aa141cd..f842ccd 100644 --- a/bin/refresh-support-files.py +++ b/bin/refresh-support-files.py @@ -1,5 +1,5 @@ """ -Refresh any files in support-files/ that come from elsewhere +Refresh any files in ../virtualenv_support/ that come from elsewhere """ import os @@ -7,7 +7,7 @@ import urllib import sys here = os.path.dirname(__file__) -support_files = os.path.join(here, '..', 'support-files') +support_files = os.path.join(here, '..', 'virtualenv_support') files = [ ('http://peak.telecommunity.com/dist/ez_setup.py', 'ez_setup.py'), |
