Open
Description
Bug report
Bug description:
Take this set-up from here,
where we launch build_i.py:
.
├── scripts
│ ├── const.py
│ ├── fops.py
│ ├── i_build.py
│ └── i_Props.ini
└── build_i.py -> scripts/i_build.py
On Linux, tested with WSL2, i_build.py is able to import fops.py.
On Windows, tested with Windows 10, i_build.py is not able to import fops.py.
It could be that on Windows sys.path is not correcly changed into also
having the directory of build_i.py, which should be scripts and not the
parent directory of the file symlink.
Tested with: WSL2, Python 3.10.12
Windows 10: Python 3.12.0rc2
CPython versions tested on:
3.10, 3.12
Operating systems tested on:
Linux, Windows