I have created a Github repo in which I keep all the code for my project.
The structure is:
myproject
\
- package api
- package database
- package feature
The api package is responsible for communicating with external apis like itunes api.
The database package is responsible for communicating with my database.
Finally the feature package is the actual project i am building.
Each package has its own setup.py.
I have three problems with this structure:
how can i add the dependencies of api and database in the feature setup.py?
How would you recommend i deploy this python code in Amazon? Using docker? Platter? Something else?
- If we assume that more features will be added in the feature as separate packages. How can i deploy only a subset of the code in the server? Lets say package api along with another feature that uses it.
Let me know if my questions are not clear and I will refine them.