RuntimeError: EndUpdateResource: 指定されたデバイスまたはファイルを開けません。
なんだこれ。
ウイルスソフト?
一時的にオフにしてやってみるとできたー。
マジでか。
setup.py はこんなやつ。
# -*- coding: utf-8 -*-
from distutils.core import setup
import py2exe
py2exe_options = {
"compressed": 1, #圧縮する
"optimize": 2,
# "bundle_files": 2,# dllとexeが別
"bundle_files": 1,# 1ファイル
}
setup(
options = {"py2exe": py2exe_options},
name="hello",
console=["hello.py"],
# data_files=[("static", glob.glob("static\\*.html")), ("templates", glob.glob("templates\\*.html"))],
zipfile = None,
)
0 件のコメント:
コメントを投稿