Revision history [back]
What is the right way to set up project python paths for sharing?
We are starting to refactor a larger python project into subfolders (with __init__.py for packaging). From:
BigFolder
To:
Bigfolder
__init__.py
files...
/subfolder
__init__.py
files...
/othersubfolder
__init__.py
files
What is the best to set at the project level, "Please presume Bigfolder should be scanned for autocomplete information for all files in subfolders"? I can add a custom python path, but that isn't project relative and is stored in the user file (wpu) rather than the (wpr). Ideally I want to make it easy for the team to refactor while not losing the excellent source data and autocompletion we presently enjoy or need them to manually add things to the project to get it.
What is the right way to set up project python paths for sharing?
We are starting to refactor a larger python project into subfolders (with __init__.py for packaging). From:
BigFolder
To:
Bigfolder
__init__.py
files...
/subfolder
__init__.py
files...
/othersubfolder
__init__.py
files
What is the best to set at the project level, "Please presume Bigfolder should be scanned for autocomplete information for all files in subfolders"? I can add a custom python path, but that isn't project relative and is stored in the user file (wpu) rather than the (wpr). Ideally I want to make it easy for the team to refactor while not losing the excellent source data and autocompletion we presently enjoy or need them to manually add things to the project to get it.
What is the right way to set up project python paths for sharing?
We are starting to refactor a larger python project into subfolders (with __init__.py for packaging). From:From:
BigFolder
To:
Bigfolder
BigFolder
__init__.py
To:files...
/subfolder
Bigfolder
__init__.py
files...
/subfolder
What is the best to set at the project level, "Please presume Bigfolder should be scanned for autocomplete information for all files in subfolders"? I can add a custom python path, but that isn't project relative and is stored in the user file (wpu) rather than the (wpr). Ideally I want to make it easy for the team to refactor while not losing the excellent source data and autocompletion we presently enjoy or need them to manually add things to the project to get it.