Open damufo opened 1 week ago
Python 3.10 (virtualenv) poetry-pyinstaller-plugin: v1.1.112 Tested windows10 and Ubuntu 22.04
[tool.poetry]
name = "myclass"
...
packages = [
{include = "myclass"},
]
...
[tool.poetry-pyinstaller-plugin]
# Pyinstaller version (Optional, latest if not set)
# Does not support version constraint (eg: ^6.4)
version = "6.7.0"
# Disable UPX compression
disable-upx = true
# Disable [tool.poetry.include] and use plugin settings instead
#exclude-include = true # has effect ???
[tool.poetry-pyinstaller-plugin.scripts]
myclass = { source = "myclass/launcher.py", type = "onedir", bundle = false, console = false, windowed = false }
[tool.poetry-pyinstaller-plugin.collect]
# Collect all submodules, data files & binaries for 'package_A' and 'package_B'
all = ['odf', 'reportlab']
No add package folder myclass for myclass_internal folder ./myclass Fail.
Exacutable work if the package folder is manually added:
[tool.poetry-pyinstaller-plugin.include]
"myclass" = "myclass"
For me ending the folder / ("myclass/" = "myclass") does not work on windows for python 3.8.
Very thanks for poetry-pyinstaller-plugin
Ubuntu 22.04 Python 3.10 (virtualenv) poetry-pyinstaller-plugin: v1.1.11
File project.toml
Terminal result $poetry build
File clasaua/launcher.py
Terminal error
Project source https://github.com/damufo/clasaua/