Problem on running "production"
TomFreudenberg opened this issue · 2 comments
Hi, thanks for this project and your effort.
Using it on the boilerplate Cedra I could manage to integrate dramatiq into a Cement app.
But running built project "in production" does not seem to work.
When I setup the project after checkout by:
python setup.py installThe lazy-loader doesn't seems to do it's job.
Running the same by using
python setup.py developall ist working fine.
You can test it with the above project, after checkout (inside project folder):
rm -rf .venv ; make virtualenv ; source .venv/bin/activate ; python setup.py install ; cedra --helpdoes not work
but instead
rm -rf .venv ; make virtualenv ; source .venv/bin/activate ; python setup.py develop ; cedra --helpdoes work.
Any suggestions?
Cheers
Tom
Hi @TomFreudenberg, we'd need a bit more information to debug here. What do you mean by "does not work"?
Note that setup.py develop is nowadays spelled pip install --no-build-isolation -e ., and python setup.py install becomes pip install ..
Closing due to lack of information.