Giter VIP home page Giter VIP logo

tclchanger's Introduction

TCLChanger

Script for changing TCL version when building tkinter apps with pyinstaller - MacOS

  • Place TCLChnager.py in the same directory as the app.py
  • run $ pyinstaller --windowed app.py Iportant: don't include --onefile, as the file structure will be un-editable
  • run $ python TCLChanger.py
  • You should now be able to open the app

dist/test.app/Contents/Resources/tcl/init.tcl will be edited, changing package require -exact Tcl 8.6.7 to package require -exact Tcl 8.5-

tclchanger's People

Contributors

jacob-brown avatar

Stargazers

ninotk avatar Akira Tamamori avatar  avatar Sheldon Rupp avatar Brian Ellis Sound avatar Mohammad Nurdin (鳴持无) avatar Dominic Ward avatar Afiya avatar

Watchers

James Cloos avatar  avatar

tclchanger's Issues

Error Message with TCLChanger

Hi Jacob

I have been trying to use your TCLChanger but I keep getting the following error:

UnboundLocalError: local variable 'fileTCL' referenced before assignment

I have checked the spacing and it is all ok.

I done some Googling and it seems to be a problem with scope. I tried global fileTCL but that threw up another error.

Just thought I should let you know. I will continue to try to solve the issue myself and if I do I will get back to you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.