Controlling PYTHONPATH ordering in PyCharm to make the Source Folders are searched first
问题 I create a projectname package, and use PyCharm to debug the code in it. I also use venv for setting up Python environment for the package. I follow the standard package structure as follows. . ├── NAME │ ├── __init__.py │ ├── arith.py │ └── arith.py ├── bin │ └── app.py ├── build │ ├── bdist.macosx-10.11-intel │ └── lib │ └── NAME │ ├── __init__.py │ └── arith.py ├── dist │ └── projectname-0.1-py2.7.egg ├── docs ├── requirements.txt ├── setup.py └── tests ├── __init__.py └── arith_tests.py