Ticket #21 (new enhancement)
include Tix like Tk
| Reported by: | openticket | Owned by: | williamcaban |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Documentation | Version: | PyInstaller 1.2 |
| Severity: | normal | Keywords: | Tix |
| Cc: |
Description
Hello, I've not found an email address, so I suggest it here. The following is a TixTree function (like TkTree in Build.py) is a bit more general than ticket:11. Tested only on ActivePython/Win?32.
def TixTree ():
tixroot = os.path.join (config['TCL_root'], os.path.pardir)
for root, dirs, files in os.walk (tixroot):
for i in dirs:
if i.startswith ('Tix'):
tixroot = os.path.join (tixroot, i)
break
tixroot = os.path.normpath (tixroot)
print ">>>TIXROOT", tixroot
tixnm = os.path.join ('_MEI', os.path.basename (tixroot))
tixdll = None
for root, dirs, files in os.walk (tixroot):
for i in files:
j = i.lower ()
if j.startswith ('tix') and j.endswith ('.dll'):
tixdll = (root, i)
print ">>>TIXDLL", tixdll[1]
return Tree (tixroot, tixnm) + [(tixdll[1], os.path.join (tixdll[0], tixdll[1]), 'BINARY')]
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
