{ "info": { "author": "Douglas Camata", "author_email": "d.camata@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Buildout", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Topic :: Software Development :: Build Tools" ], "description": "A buildout to develop the web2pyrecipe.\n\nIt should download the lastest version of web2py, install an user defined app\nand create a script to run it.\n\n- Code repository: http://github.com/douglascamata/web2pyrecipe...\n- Questions and comments to d.camata@gmail.com\n- Report bugs at http://github.com/douglascamata/web2pyrecipe/issues..\n\n\nDetailed Documentation\n**********************\n\nSupported options\n=================\n\nappdir\n The directory where the compressed web2py application should be ...\n\ndefault\n The default app of the web2py server ...\n\npassword\n The password for web2py adminsitrative app ...\n\nTesting now::\n\n >>> write('buildout.cfg',\n ... \"\"\"\n ... [buildout]\n ... parts = test1\n ...\n ... [test1]\n ... recipe = web2pyrecipe\n ... password = 123\n ... pidfile = pid.txt\n ... appdir = %(dir)s\n ... default = web2py.app.chat\n ... option2 = %(bar)s\n ... \"\"\" % { 'dir' : 'web2pyapps', 'bar' : 'value2'})\n\n >>> mkdir('web2pyapps')\n ...\n\nDownloading example app::\n\n >>> system('wget http://www.web2py.com/appliances/default/download/app.source.aa6d3615911c89b6.7765623270792e6170702e636861742e773270.w2p -O web2pyapps/web2py.app.chat.w2p -q')\n ''\n\nRunning the buildout gives us::\n\n >>> print 'start', system(buildout)\n start...\n Installing test1.\n Unused options for test1: 'option2'.\n \n\nChecking the root directory structure::\n\n >>> ls('.')\n - .installed.cfg\n d bin\n - buildout.cfg\n d develop-eggs\n d eggs\n d parts\n d web2py\n d web2pyapps\n\nChecking the test app for w2p::\n\n >>> ls('web2pyapps')\n - web2py.app.chat.w2p\n\nChecking if web2py is extracted correctly::\n\n >>> ls('web2py')\n - ABOUT\n - LICENSE\n - Makefile\n - NEWINSTALL\n - README\n - VERSION\n - __init__.py\n - anyserver.py\n - app.example.yaml\n - appengine_config.py\n d applications\n - cgihandler.py\n - epydoc.conf\n - epydoc.css\n - fcgihandler.py\n - gaehandler.py\n d gluon\n - isapiwsgihandler.py\n - logging.example.conf\n - modpythonhandler.py\n - options_std.py\n - queue.example.yaml\n - router.example.py\n - routes.example.py\n - routes.py\n - scgihandler.py\n d scripts\n - setup.py\n - setup_app.py\n - setup_exe.py\n - setup_exe_2.6.py\n d site-packages\n - splashlogo.gif\n - web2py.py\n - wsgihandler.py\n\nChecking if the test app is correctly extracted at web2py's application directory::\n\n >>> ls(join('web2py','applications'))\n - __init__.py\n d admin\n d examples\n d web2py_app_chat\n d welcome\n\n >>> cat(join('web2py','routes.py'))\n default_application = 'web2py_app_chat'\n default_controller = 'default'\n default_function = 'index'\n\nChecking if the script for running the web2py server is created on 'bin' directory::\n\n >>> ls('bin')\n - buildout\n - web2py\n\nSo, let's check the content of 'web2py' script::\n\n >>> cat(join('bin','web2py'))\n #!/bin/bash\n PYTHON=python\n \n start() {\n ${PYTHON} web2py/web2py.py -a 123 -d pid.txt &\n }\n \n stop() {\n kill `cat web2py/pid.txt`\n }\n \n case \"$1\" in\n start)\n start;;\n stop)\n stop;;\n restart)\n start\n stop;;\n *)\n echo \"Usage: web2py {start|stop|restart}\"\n exit 1;;\n esac\n exit\n\n\nContributors\n************\n\n\"Douglas Camata\", Author\n\n\nChange history\n**************\n\n1.0.1 (2011-11-10)\n----------------\n\n- Lots of refactoring to a more pythonic and less\n system-depedent code\n\n\n1.0.0 (2010-09-30)\n----------------\n\n- Initial release\n\nDownload\n********", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://http://github.com/douglascamata/web2pyrecipe", "keywords": "", "license": "ZPL", "maintainer": null, "maintainer_email": null, "name": "web2pyrecipe", "package_url": "https://pypi.org/project/web2pyrecipe/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/web2pyrecipe/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://http://github.com/douglascamata/web2pyrecipe" }, "release_url": "https://pypi.org/project/web2pyrecipe/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "A web2py recipe for buildout.", "version": "1.0.1" }, "last_serial": 801576, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "e67e4aee0e3f58e3e3dbec09289141ad", "sha256": "5fe35974e7e8f32cc6de15874666e815f1f31930c1f811d88ec3bd4c4f74315e" }, "downloads": -1, "filename": "web2pyrecipe-1.0.tar.gz", "has_sig": false, "md5_digest": "e67e4aee0e3f58e3e3dbec09289141ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 121831, "upload_time": "2011-03-15T22:39:14", "url": "https://files.pythonhosted.org/packages/75/67/609fec842629ed0d6f0655842cebd67c493ead49574e420e96839e2e4b8b/web2pyrecipe-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "fec7ac29c90dc613e1a761ce00a092cd", "sha256": "378d558d68cc9749afe6781a09e397e34ad08a15da5eeff629988240a3aa376c" }, "downloads": -1, "filename": "web2pyrecipe-1.0.1.tar.gz", "has_sig": false, "md5_digest": "fec7ac29c90dc613e1a761ce00a092cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 121008, "upload_time": "2011-11-10T04:18:56", "url": "https://files.pythonhosted.org/packages/6e/47/61226238d123402ab4a986811f9e7932bb8c13146cdeddd8dbe35d8ba20a/web2pyrecipe-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fec7ac29c90dc613e1a761ce00a092cd", "sha256": "378d558d68cc9749afe6781a09e397e34ad08a15da5eeff629988240a3aa376c" }, "downloads": -1, "filename": "web2pyrecipe-1.0.1.tar.gz", "has_sig": false, "md5_digest": "fec7ac29c90dc613e1a761ce00a092cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 121008, "upload_time": "2011-11-10T04:18:56", "url": "https://files.pythonhosted.org/packages/6e/47/61226238d123402ab4a986811f9e7932bb8c13146cdeddd8dbe35d8ba20a/web2pyrecipe-1.0.1.tar.gz" } ] }