Open constructor-igor opened 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:
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