I wrote a few games for a competition in Stackless Python and needed to create an executable. Accidentally though, I used CPython 2.6 instead of using Stackless Python 2.5 to build the executable. I rebuilt correctly, and found that the final size of the dist was down from slightly over 30 MB down to around 8. Out of curiosity, why exactly was this? As a guess, I would hazard that it is because I have installed libraries like Twisted and Qt4 in CPython, but not in Stackless, and Py2exe packages in everything, whether or not they are used (possibly because you can always call code dynamically), but if anyone actually knows, I would be interested in learning why.
Why Is My Stackless Executable So Much Smaller
304 Views Asked by Nikwin At
1
There are 1 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in PY2EXE
- Does _memimporter still exist in py2exe?
- python to exe without getting detected as virus
- AttributeError: 'NoneType' object has no attribute 'rsplit' in py2exe
- ModuleNotFoundError for 'undetected_chromedriver' with PyInstaller and py2exe in Python 3.11.7
- How to add binary libraries of eccodes to pyinstaller or py2exe?
- py2exe creating tk and tcl folder how to exclude it
- Missing modules from python when running py2exe
- Getting error while installing py2exe for python 3.7.9 version
- Missing Modules message while compiling a program using py2exe
- Error with keystoneauth1 when building executables with Windows (pyinstaller, cx_Freeze, py2exe)
- not sure how to interpret and solve ImportError from lxml using py2exe
- Python to exe automatically close
- py2exe access denied when trying to include sub directories
- How to exclude unnecessary modules and files from packaged python application?
- How to convert a .py to .exe if i want to include many subfolders and imported modules in the final executable?
Related Questions in CPYTHON
- Micropython: _thread module imported but not showing methods
- How to check reference counting issues when doing direct manipulations of CPython objects?
- Why can't Python find this shared object I'm trying to relative import despite it existing in the same folder?
- Why is `if x is None: pass` faster than `x is None` alone?
- python - embed python into android - using c++ to call python source files
- Creating a new interpreter for each thread
- Hash-flooding attacks for integer hashmaps in python
- cpython3.6.15 has Bus error (core dumped) problem in arm paltform
- Python and stable API Segmentation Error (core dumped)
- Call python functions from fortran
- python multilibgual : Issue with Modifying Python Grammar for Multiple Languages - MemoryError and Parser
- Lists construction in Python Bytecode
- Is it necessary to pass a shared variable explicitly to a threading function in Python using args in Threads()or directly access it?
- Python C Extension - Access to PyInterpreterState Internal Data Structure
- Understanding __dict__ search during the attribute lookup
Related Questions in STACKLESS
- Is there a stackless and heapless programming language?
- Resume ASIO Stackless Coroutine
- Robson tree traversal algorithm
- Does Pypy's stackless thread option support parallel execution?
- Which JVM languages are stackless?
- Stackless Scala With Free Monads, complete example
- Using Stackless Python to save the state of a large running program?
- Does coroutine stacks grow in Lua, Python, Ruby or any other languages?
- windows 8 incompatibility?
- Simulating threads scheduling in java (stackless java?)
- Are there stackless or heapless implementation of C++?
- Would C/C++/Pascal/etc. be substantially slower if it was a stackless language?
- How to eliminate this type of recursion?
- Is it possible to serialize tasklet code (not just exec state) using SPickle without doing a RPC?
- Is it possible to use stackless python 2.7.2 with pythondotnet?
Related Questions in PYTHON-STACKLESS
- How to do infinite (or really deep) recursions in Stackless Python?
- Embedded python not picking up PYTHONPATH
- parallel computations with task manager
- Couldn't find index page for 'stackless_installer_c4_win32' (maybe misspelled?)
- Factory returning boost exposed python object seg faults
- stackless python and multiprocessing slowdown
- python program without stackless.run()
- Sleep instead of thread.join() for platform legacy reasons
- How robust is `func(*argument)`?
- Create tasklets at runtime
- How can I use stackless python on heroku?
- Aren't Python tasklets breaking the rule of no "GOTO"?
- stackless python constructor
- PyCharm can't resolve stackless
- Install Stackless without uninstalling Python
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
py2exe does look through to your dependencies and only includes the ones it thinks you're using. You can manually specify an exclude list if it's including extra modules.
Check out this py2exe script (replace "setup.py" with the name of your own main py file). This setup script skips the bundling step, so you can look through to see what is taking up the most space.