Note that there are some explanatory texts on larger screens.

plurals
  1. USZooko
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. CO@Iva Now, what order should the tool do this in? It can't (in the setuptools/pip/virtualenv system of today) even know what the deps _are_ until it evaluates your `setup.py`. Also, if it tried to do full depth-first and do all deps before it does this one, it would get stuck if there were circular deps. But if it tries to build this package before installing the dependencies, then if you import your package from your `setup.py`, it will not necessarily be able to import its deps, or the right versions of its deps.
      singulars
    2. CO@IvanKozik I think there can be other problems with importing your package, too. Consider that a tool like `setuptools` or `pip` needs to do two things for packages that declare dependencies: 1. build this package, 2. install (first building, if necessary) its dependencies.
      singulars
    3. CO@IvanKozik: if your `setup.py` is being executed in a freshly created Python process and your current working directory is the directory that contains your project, then it will work. This is the common way that programmers run `setup.py`, so they think it is the only way. But there are other ways! Tools like py2exe run a single Python process and then load and execute the `setup.py` scripts from one project after another (while packing them all together). Suppose that some of the Python code that ran _before_ your `setup.py` script imported a different version of your module.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload