-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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"
- Make a script which will go to the installation directory (https://stackoverflow.com/questions/122327/how-do-i-find-the-location-of-my-python-site-packages-directory) and then call manage.py from there. I guess we'll have to make sure an .env file will be read in before we change to that directory. Also we should change back when that script ends. This solution feels a little more inconvenient.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels