plutec / megup

Incremental backup system with mega service
megup.wordpress.com
GNU General Public License v2.0
0 stars 1 forks source link

Installer #19

Open plutec opened 10 years ago

plutec commented 10 years ago

setup.py and .sh to install in Unix systems

drimer commented 10 years ago

Python libraries are usually deployed with the help of setuptools and distutils [1], whereas whole Python apps deployemnt varies depending on your preferences.

I'd personally deploy your app as a whole library following the example [1]. However, there's another cool option: zc.builout [2], which I'm still getting to grips with.

If you want to give this a shot, there's an easy way to automate the deployment testing by using Vagrant [3]. I could get round to it pretty easily.

[1] Example: https://github.com/drimer/python-example-codes/tree/master/deployable_app [2] https://pypi.python.org/pypi/zc.buildout/2.2.1 [3] http://docs.vagrantup.com/v2/