You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running an aileen- use case on an Aileen box, one should not have to downlaod aileen-core manually. It should be a pip dependency.
The issue to solve is that we need to run manage.py. Either we
make a function, which aileen-core's setup.py installs as an entry point: https://lincolnloop.com/blog/goodbye-managepy/ Better even: Make two, one only for run_box, one for stop_box. I did not succeed with this due to some path problems, but it seems possible. Maybe we aren't using the best way to import code. The Django coding style says to use "relative imports for local components"
For method one: If I follow the lincolnloop example, then the python inerpreter operates one level higher, i.e. aileen.aileen.settings can be imported, but aileen.settings cannot. This has an effect of dicsovering the apps, as well, so both this approach and the usual usage of manage.py don't go together (manage.py is "in" aileen and can import the apps directly, i.e. data, box, server.
This is weird because __init__.py and manage.py are basically the same code. The difference is thus how setup.py's entry_points "sees" where it operates. We define:
When running an aileen- use case on an Aileen box, one should not have to downlaod aileen-core manually. It should be a pip dependency.
The issue to solve is that we need to run manage.py. Either we
The text was updated successfully, but these errors were encountered: