Fix pip installation to work without pre-installed numpy/cython by stefanistrate · Pull Request #266 · PythonOT/POT

I made some changes in the meantime and I'm waiting for all the workflows to run, but I noticed that the CircleCI workflows fail with some sort of writing permission error:

Installing collected packages: numpy, scipy, POT
  Running setup.py develop for POT
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/circleci/project/setup.py'"'"'; __file__='"'"'/home/circleci/project/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps --user --prefix=
         cwd: /home/circleci/project/
    Complete output (32 lines):
    running develop
    /tmp/pip-build-env-j5lnnt5f/overlay/lib/python3.7/site-packages/setuptools/dist.py:700: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
      % (opt, underscore_opt))
    /tmp/pip-build-env-j5lnnt5f/overlay/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: Normalizing '0.8.0dev' to '0.8.0.dev0'
      warnings.warn(tmpl.format(**locals()))
    WARNING: The user site-packages directory is disabled.
    error: can't create or remove files in install directory
    
    The following error occurred while trying to add or remove files in the
    installation directory:
    
        [Errno 13] Permission denied: '/usr/local/lib/python3.7/site-packages/test-easy-install-1050.write-test'
    
    The installation directory you specified (via --install-dir, --prefix, or
    the distutils default setting) was:
    
        /usr/local/lib/python3.7/site-packages/
    
    Perhaps your account does not have write access to this directory?  If the
    installation directory is a system-owned directory, you may need to sign in
    as the administrator or "root" account.  If you do not have administrative
    access to this machine, you may wish to choose a different installation
    directory, preferably one that is listed in your PYTHONPATH environment
    variable.

I don't think this is because of my change. Can you take a look?