{ "info": { "author": "Jan-Philip Gehrcke", "author_email": "jgehrcke@googlemail.com", "bugtrack_url": null, "classifiers": [], "description": "python-cmdline-bootstrap\n========================\n\nThis is a structure template for Python command line applications, ready to be\nreleased and distributed via setuptools/PyPI/pip for Python 2 and 3.\n\nPlease have a look at the corresponding article:\nhttp://gehrcke.de/2014/02/distributing-a-python-command-line-application/\n\n\nUsage\n-----\n\nClone this repository and adopt the bootstrap structure for your own project.\nThis is just a starting point, but I hope a good one. From there on, you should\nread and follow http://python-packaging-user-guide.readthedocs.org/en/latest/,\nthe definite resource on Python packaging.\n\n\n\nBehavior\n--------\n\nFlexible invocation\n*******************\n\nThe application can be run right from the source directory, in two different\nways:\n\n1) Treating the bootstrap directory as a package *and* as the main script::\n\n $ python -m bootstrap arg1 arg2\n Executing bootstrap version 0.2.0.\n List of argument strings: ['arg1', 'arg2']\n Stuff and Boo():\n \n \n\n2) Using the bootstrap-runner.py wrapper::\n\n $ ./bootstrap-runner.py arg1 arg2\n Executing bootstrap version 0.2.0.\n List of argument strings: ['arg1', 'arg2']\n Stuff and Boo():\n \n \n\n\nInstallation sets up bootstrap command\n**************************************\n\nSituation before installation::\n\n $ bootstrap\n bash: bootstrap: command not found\n\nInstallation right from the source tree (or via pip from PyPI)::\n\n $ python setup.py install\n\nNow, the ``bootstrap`` command is available::\n\n $ bootstrap arg1 arg2\n Executing bootstrap version 0.2.0.\n List of argument strings: ['arg1', 'arg2']\n Stuff and Boo():\n \n \n\n\nOn Unix-like systems, the installation places a ``bootstrap`` script into a\ncentralized ``bin`` directory, which should be in your ``PATH``. On Windows,\n``bootstrap.exe`` is placed into a centralized ``Scripts`` directory which\nshould also be in your ``PATH``.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://gehrcke.de/2014/02/distributing-a-python-command-line-application", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "cmdline-bootstrap-yuhua", "package_url": "https://pypi.org/project/cmdline-bootstrap-yuhua/", "platform": "", "project_url": "https://pypi.org/project/cmdline-bootstrap-yuhua/", "project_urls": { "Homepage": "http://gehrcke.de/2014/02/distributing-a-python-command-line-application" }, "release_url": "https://pypi.org/project/cmdline-bootstrap-yuhua/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Python command line application bare bones template.", "version": "0.2.0" }, "last_serial": 3671594, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "8be0de4a248b25d26fd4cc4110fac6f3", "sha256": "cbb484cad9ad59860f416d03b085f7a1e6a844150f1e6e1db5fad65cbfe1c85f" }, "downloads": -1, "filename": "cmdline-bootstrap-yuhua-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8be0de4a248b25d26fd4cc4110fac6f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2550, "upload_time": "2018-03-15T07:26:00", "url": "https://files.pythonhosted.org/packages/16/67/92508945b1de437bf5c1b638da3b8948448c3615424ee654fccac7129312/cmdline-bootstrap-yuhua-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8be0de4a248b25d26fd4cc4110fac6f3", "sha256": "cbb484cad9ad59860f416d03b085f7a1e6a844150f1e6e1db5fad65cbfe1c85f" }, "downloads": -1, "filename": "cmdline-bootstrap-yuhua-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8be0de4a248b25d26fd4cc4110fac6f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2550, "upload_time": "2018-03-15T07:26:00", "url": "https://files.pythonhosted.org/packages/16/67/92508945b1de437bf5c1b638da3b8948448c3615424ee654fccac7129312/cmdline-bootstrap-yuhua-0.2.0.tar.gz" } ] }