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
Post a Comment