Python Mode Development

krvkrv
edited March 2016 in Python Mode

Does python mode development needs processing build also.. When I run 'ant test' command it gives me a error message saying processing build cannot be found and shows a path as my home directory. I was able to run python mode using a separate download of processing.py What is the correct way to set up the development environment for processing.py

Tagged:

Answers

  • Yes, you need the source of Processing to be able to build the Python Mode.
    Download the Processing source, keep it in the same directory as that of Processing.py(Or change the paths in build.xml).
    Make sure you have the right version of Java installed(Oracle Java 8).
    You should be able to build both Processing(run ant run inside processing/build), and also run the ant tests for Processing.py by running ant tests. You can also generate PythonMode.zip by running ant mode.zip.

  • Answer ✓

    If all you want to do is code using Python, you can download it through the PDE like any other mode.

Sign In or Register to comment.