Author: mattip <matti.pi...@gmail.com>
Branch: pypyw
Changeset: r77473:504722d02068
Date: 2015-05-22 07:52 +0300
http://bitbucket.org/pypy/pypy/changeset/504722d02068/

Log:    remove hack made obsolete by 2bcf56036762

diff --git a/pypy/tool/release/package.py b/pypy/tool/release/package.py
--- a/pypy/tool/release/package.py
+++ b/pypy/tool/release/package.py
@@ -54,11 +54,7 @@
     shutil.rmtree(str(basedir.join('lib_pypy', '__pycache__')),
                   ignore_errors=True)
     modules = ['_sqlite3_build.py', '_audioop_build.py']
-    env = os.environ.copy()
-    if sys.platform == 'win32':
-        # obscure. Add the location of pypy_c so Python27.lib can be found
-        env['LIB'] = env.get('LIB', '') + ';' + str(pypy_c.dirpath())
-    else:
+    if not sys.platform == 'win32':
         modules += ['_curses_build.py', '_syslog_build.py', '_gdbm_build.py',
                     '_pwdgrp_build.py']
     if not options.no_tk:
@@ -72,7 +68,7 @@
             cwd = None
         print >> sys.stderr, '*', ' '.join(args)
         try:
-            subprocess.check_call(args, cwd=cwd, env=env)
+            subprocess.check_call(args, cwd=cwd)
         except subprocess.CalledProcessError:
             print >>sys.stderr, """Building {0} bindings failed.
 You can either install development headers package or
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to