I try to learn more about Django celery and rabbitmq to create some async 
tasks and I have some question.

Some programs can provide PYTHON API to can some development to use modules 
from this program in python.

one most way to take that PYTHON API from this program is to use batch file 
like this :

@echo off
SET PROGRAM_ROOT=C:\main-folder
call "%PROGRAM_ROOT%"\bin\some-batch-file.bat

SET PYCHARM="C:\Program Files\JetBrains\PyCharm 2017.1.5\bin\pycharm64.exe"

set PYTHONPATH=%PYTHONPATH%;%PROGRAM_ROOT%\python;
set PYTHONPATH=%PYTHONPATH%;%PROGRAM_ROOT%\site-packages;


start "PyCharm aware of PROGRAM" /B %PYCHARM% %*

if I run this batch file can I use all imports and modules from this 
program.

that to release if add celery in my app and broker url rabbitmq server then 
if i use some module or some import from this python api then I take error 
message : no module name some_module_from_program (for all other modules 
celery and rabbitmq app work fine).

that mean in celery and rabbitmq server loose that paths from batch file 
and I take this error.

my question how to can define rabbitmq server to start server with that 
paths like batch file before to avoid this error?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8205be0a-6a15-4ce1-8347-fbaed9fe7989%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to