flask - Python in AWS Elastic Beasntalk: Private package dependencies -


i deploy python flask application on beanstalk.

the application depends on external packages (e.g. geopy) , internal packages (e.g. adam_geography).

the manual

create requirements.txt file , place in top-level directory of source bundle.

this fetch geopy , dependencies, not fetch adam_geography available custom repo inside vpc.

how specify/upload private, internal python package dependencies in beanstalk application?

1) copy internal python package server

2) use pip's "editable installs" feature install private package:

pip install -e path/to/someproject 

http://pip.readthedocs.org/en/latest/reference/pip_install.html#editable-installs


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -