constructor-igor / TechSugar

Tech. Sugar seminars
7 stars 7 forks source link

PyInstaller Demo #439

Open constructor-igor opened 5 years ago

constructor-igor commented 5 years ago

sample from https://github.com/Netuser-Py/PyInstallerDemo/ if will problem with enum, uninstall enum34: https://stackoverflow.com/questions/43124775/why-python-3-6-1-throws-attributeerror-module-enum-has-no-attribute-intflag

constructor-igor commented 5 years ago

source file application.py:

import logging

if __name__ == "__main__":
    logging.basicConfig(format='%(asctime)s %(levelname)s:%(message)s', level=logging.INFO)
    logging.info("application started")

    logging.info("application finished")

batch file pyInstallerDemo.cmd:

pyinstaller application.py

result in folder dist\application: image