Dear Emanuele,
There are a couple of ways you can proceed here. First, though, to reassure you about the command line options - there should be a file saved in the root Cantera source code directory called cantera.conf. This file contains a copy of all the options you passed to the command line, plus any options that were already in that file. So, if you run a plain scons build with no options on the command line, it will simply read the cantera.conf file and apply any options it finds in there. No need to remember them! Now, to procedures for re-compiling:
1) You can use the python_prefix='USER' and prefix='~/.local' options. This installseverything into the ~/.local folder which is automatically on the PYTHONPATH. This directory will be searched before /usr/local, so it will not disrupt the "working" version you have in the /usr/local directory. However, switching back and forth between the ~/.local and the /usr/local versions is somewhat tedious.
2) This way is probably the simpler way if you want to test some changes repeatedly.You can run just the build and test commands (don't run the install command), and then run Python with this command
PYTHONPATH=build/pythonX pythonX
where X is the version of Python you want to use (2 or 3). Your current directory in Bash has to be the root Cantera directory (the same one where you run scons build). This sets the value of the PYTHONPATH environment variable immediately before running the Python executable. It adds the directory where the Python interface is stored before it gets copied to the install location to the PYTHONPATH so that Python knows to look in the build/pythonX directory to try and find packages.
Hope it helps,
Bryan