aboutsummaryrefslogtreecommitdiff
path: root/pypy/tool
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-04-02 10:23:24 +0300
committerMatti Picus <matti.picus@gmail.com>2020-04-02 10:23:24 +0300
commit147518795e7739560185ae2a915ee29baf33308f (patch)
tree0968b4295f80cdab3c910cac397dd427ec5efc53 /pypy/tool
parentadd a comment (diff)
downloadpypy-147518795e7739560185ae2a915ee29baf33308f.tar.gz
pypy-147518795e7739560185ae2a915ee29baf33308f.tar.bz2
pypy-147518795e7739560185ae2a915ee29baf33308f.zip
tk -> _tkinter
Diffstat (limited to 'pypy/tool')
-rwxr-xr-xpypy/tool/release/package.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pypy/tool/release/package.py b/pypy/tool/release/package.py
index 6754e07bec..3ac868b010 100755
--- a/pypy/tool/release/package.py
+++ b/pypy/tool/release/package.py
@@ -142,7 +142,7 @@ def create_package(basedir, options, _fake=False):
# Can't rename a DLL
win_extras = [('lib' + POSIX_EXE + '-c.dll', None),
('sqlite3.dll', lib_pypy)]
- if not options.no_tk:
+ if not options.no__tkinter:
tkinter_dir = lib_pypy.join('_tkinter')
win_extras += [('tcl85.dll', tkinter_dir), ('tk85.dll', tkinter_dir)]
@@ -169,7 +169,7 @@ def create_package(basedir, options, _fake=False):
# Has the lib moved, was translation not 'shared', or are
# there no exported functions in the dll so no import
# library was created?
- if not options.no_tk:
+ if not options.no__tkinter:
try:
p = pypy_c.dirpath().join('tcl85.dll')
if not p.check():
@@ -350,7 +350,7 @@ def package(*args, **kwds):
if os.environ.has_key("PYPY_PACKAGE_NOKEEPDEBUG"):
options.keep_debug = False
if os.environ.has_key("PYPY_PACKAGE_WITHOUTTK"):
- options.no_tk = True
+ options.no__tkinter = True
if os.environ.has_key("PYPY_EMBED_DEPENDENCIES"):
options.embed_dependencies = True
elif os.environ.has_key("PYPY_NO_EMBED_DEPENDENCIES"):