Open patrick-stephens opened 1 year ago
@patrick-stephens The behaviour is correct - the layout of the repo follows the standard Python packageing structure.
Sorry if it wasn't clear, I assumed you could run the script from a relative path and it would pick up the correct directory. If you run it, then it assumes the local directory is the repo root rather than where the script is located.
The structure is correct but it makes an assumption about the current directory. If it grabbed the realpath or similar of the script file location it would work.
You cannot seem to run from another path e.g
python /test/setup.py
, it look for README.md, etc. locally rather than at the location of the .py file.