Is it good idea to store python package eggs in artifactory?

℡╲_俬逩灬. 提交于 2019-12-04 08:38:55

There are numerous reasons to prefer a binary repository manager over a simple shared directory/SCM binary storage:

  1. Fine grained security.
  2. Ability to proxy and cache remote repositories.
  3. More efficient handling of binaries (because it's a tool that's tailored to do so).
  4. Sharing the binaries with other teams and the world is a lot safer and easier.
  5. Integration with many tools in the ecosystem.
  6. Search and manipulation facilities.
  7. Administration tools.

Artifactory exposes a very rich REST API and the deployment of any artifact can be achieved by a simple HTTP PUT request.

Take a look at the Defend Against Fruit project. It provides the previously missing glue between Python and Artifactory. http://teamfruit.github.io/defend_against_fruit/

You can use "in house" PyPi (either with easy_install -f ... or pip -f ...).

For a server you can have just Apache serving a directory with all the eggs or something like http://pypi.python.org/pypi/pypiserver

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!