[Utils] project_root() incorrect behaviour
Created by: BarabanovaIrina
Reproducibility:
- pip install fedot
- from fedot.core.utils import project_root
- if name == 'main': print(project_root())
Expected: /Users/ira/PycharmProjects/FEDOT-benchmarks/
Actual: /Users/ira/PycharmProjects/FEDOT-benchmarks/venv/lib/python3.8/site-packages
Possible solution:
- Remove venv/lib/python*/site-packages tale if it is in the path if this function is intended to be used by user.
- Or rename as fedot_package_parent or smth like that.