开发者

Suitability of deploying python 2.7 apps using external (PyPi) packages in major hosts

I am writing a python program for processing files (no DJango involved). I need ZODB3 and Whoosh which are hosted on http://pypi.python.org. It needs to be deployed in a major host like Bluehost or Hostgator.

My questions are:

  1. Can I depend on reliable Python 2.7 support from major hosts?
  2. Can they support other packages (one host has a list of supported packages and tells us to c开发者_开发技巧ontact tech support for more packages), especially if it is available from the easy_install interface?
  3. Is it a pain to set up?
  4. Will my choice of ZODB (object persistence library, part of ZOPE) cause problems?

It seems a dumb question, but it can probably save weeks of my time.

Some relevant details: Its only for file processing, no DJango required. ZODB is for object persistence. I dont need to back up the ZODB store as it can be readily reconstructed.


No you cannot depend on any kind of Python support from any hoster or any operating system. Build your own portable Python distro and include all the 3rd party modules that you will need. Then you have one tarball to install on any Linux VM and everything just works. You also avoid breaking OS tools that depend on Python such as Webmin because you have your own separate Python and never touch the system default one.

Compiling Python 2.6.6 and need for external packages wxPython, setuptools, etc... in Ubuntu

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜