Greetings,
I am sorry for opening a new issue on installation, but I couldn't solve it and Openmodelica forum is disabled to posting.
When (on my Archlinux machine) I run "python setup.py install" the result is just
`error: Multiple top-level packages discovered in a flat-layout: ['old', 'misc', 'running', 'testing', 'analysis', 'plotting', 'resource', 'settings', 'sweeping', 'vectorial', 'filesystem', 'mos_writer', 'readme_writer', 'world3_specific', 'fortran_interface', 'modelica_interface'].
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:
- set up custom discovery (
find directive with include or exclude)
- use a
src-layout
- explicitly set
py_modules or packages with a list of names
To find more information, look for "package discovery" on setuptools docs.`
I found on Stackoverflow that the solution shall be to insert a py-modules = [] definition in the code, but unfortunately this doesn't solve anything in my case. Can someone please give me an advice on this?
Greetings,
I am sorry for opening a new issue on installation, but I couldn't solve it and Openmodelica forum is disabled to posting.
When (on my Archlinux machine) I run "python setup.py install" the result is just
`error: Multiple top-level packages discovered in a flat-layout: ['old', 'misc', 'running', 'testing', 'analysis', 'plotting', 'resource', 'settings', 'sweeping', 'vectorial', 'filesystem', 'mos_writer', 'readme_writer', 'world3_specific', 'fortran_interface', 'modelica_interface'].
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:
finddirective withincludeorexclude)src-layoutpy_modulesorpackageswith a list of namesTo find more information, look for "package discovery" on setuptools docs.`
I found on Stackoverflow that the solution shall be to insert a
py-modules = []definition in the code, but unfortunately this doesn't solve anything in my case. Can someone please give me an advice on this?