![]() append ( '/usr/X11R5/include' ) - added_lib_dirs. exists ( '/usr/X11R5/include' ) : - include_dirs. ![]() ![]() append ( '/usr/X11R6/include' ) - added_lib_dirs. exists ( '/usr/X11R6/include' ) : - include_dirs. append ( '/usr/openwin/include' ) - added_lib_dirs. append (dir ) - # Check for various platform-specific directories - if host_platform = 'sunos5' : - include_dirs. detect_tkinter_darwin (inc_dirs, lib_dirs ) ) : - return # Assume we haven't found any of the libraries or include files # The versions with dots are used on Unix, and the versions - 1747, 22 + 1744, 6 class PyBuildExt (build_ext ) : if dir not in include_dirs : if (host_platform = 'darwin' and - self. Only one Tkinter will be built on # Darwin - either AquaTk, if it is found, or X11 based Tk. You should be able to download the ActiveState v 8.5.18.0 Mac Disk Image for the Mac 10. When youre using Tcl on production servers or mission-critical applications, ActiveTcl Business Edition. ++ + b /setup - 1699, 9 + 1699, 6 class PyBuildExt (build_ext ) : # Rather than complicate the code below, detecting and building # AquaTk is a separate method. ActiveTcl Business Edition and ActiveTcl Enterprise Edition include our stable, supported, quality-assured Tcl distribution used by millions of developers around the world for easy Tcl installation and quality-assured code. System bin / "pip3", "list", "-format=columns" end end Lib_cellar = prefix / "Frameworks/amework/Versions/ #", "-c", "import zlib" # Unset these so that installing pip and setuptools puts them where we want # and not into some other Python the user has installed. ![]() Sha256 "66a8fd76f28977bb664b098372daef2b27f60dc4d1688cfab7b37a09448f0e9d" end # Homebrew's tcl-tk is built in a standard unix fashion (due to link errors) # so we have to stop python from searching for frameworks and linking against # X11. Xcode-only systems need different flags.ĭepends_on "tcl-tk" # as apple's one is shiiiiite Sha256 "b07ec3a40f58fa317e1bb937992dc0dca7d60812c60de99bde14fbadb6c27cc5" = > :sierra end # setuptools remembers the build flags python is built with and uses them to # build packages later. 将“/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/python.rb”路径下的脚本替换为如下,记得备份 class Python :mojave 对于homebrew安装的python3,以下命令不再支持 brew install python3 -with-tcl-tk Set TK SILENCE DEPRECATION =1 to suppress this warning. 可能会出现如下问题, The system version of Tk is deprecated and may be removed in a future release. pack (padx = 20, pady = 20 ) # Pack it into the window Label (root, text = "Hello 世界!" ) # Create a text label This is the standard location for third-party or built from source frameworks, including the ActiveTcl releases. Do you have any new instructional software that you want added to this list? (If you are getting new software and they come with license agreements requiring PSU signatures, allow enough time for interacting with the PSU contracts office.运行如下demo时, import tkinter as tk # Python 3.x Version.The machine FAB39 in the FAB 55-17 lab has been set up with this new load and is available for testing right now.) Will you be testing the software yourself or do you have any assistants/students who will be doing that before Fall 2018 begins? (We are moving to Windows 10 version 1709.Do you have a newer version for us to install than the one we are planning on installing?.Is there anything in there that should be REMOVED? (ie: should not be installed for Fall 2018).Which items in this list do you expect your students and/or groups to be using during the coming Academic Year?.If you are an MCECS faculty member who teaches classes using these labs and/or require students to use software in these labs, we need your feedback on the following: Much of this software (with a few exceptions) will be available in the load we distribute to the larger MCECS Windows computer labs. This is our projected Fall 2018 Windows Instructional Software list.
0 Comments
Leave a Reply. |