1👍
✅
The /app/~
should not matter, just as C:\etc\etc\~
on Windows or /home/user/~
on Linux would not matter. Heroku uses your Git repo, so assuming you have a folder structure like:
RootFolder
- .git folder
- .heroku folder (if any)
- requirements
- Procfile
- ProjectFolder
- AppFolder
- AppFolder
Your imports would be from ProjectFolder.AppFolder import myclass
and this would not change from your local machine to Heroku.
What is your folder structure like and where is your git
repo?
Source:stackexchange.com