Going to build EDMC 5.4.0-beta0 today I've run into:
> python setup.py py2exe
Git short hash: 77145831
C:\Users\Athan\Documents\Devel\EDMarketConnector\venv\lib\site-packages\setuptools\dist.py:531: UserWarning: Normalizing '5.4.0-beta0+77145831' to '5.4.0b0+77145831'
warnings.warn(tmpl.format(**locals()))
error: Multiple top-level packages discovered in a flat-layout: ['img', 'wix', 'dump', 'L10n', 'config', 'FDevIDs', 'plugins'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names
To find more information, look for "package discovery" on setuptools docs.
In setup.py, at the py2exe level we already do specify both a packages and includes/excludes.
Any advice on resolving this and getting a working build with this (and presumably future) setuptools appreciated.
In the meantime I'll see how far back I need to roll setuptools for it to work again, we last built with 60.10.0.
Going to build EDMC 5.4.0-beta0 today I've run into:
In setup.py, at the py2exe level we already do specify both a
packagesandincludes/excludes.Any advice on resolving this and getting a working build with this (and presumably future) setuptools appreciated.
In the meantime I'll see how far back I need to roll setuptools for it to work again, we last built with
60.10.0.