{ "info": { "author": "Stephane Klein", "author_email": "contact@stephane-klein.info", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "===========\r\nEchafaudage\r\n===========\r\n\r\nA scaffolding python tool without dependencies\r\n\r\nFeatures :\r\n\r\n* erect and create scaffolding easily\r\n* no dependency\r\n* standalone file executable directly with ``python -c \"$(curl ...)\"``\r\n\r\nUse case :\r\n\r\n* very short quick start project (you need install nothing except python)\r\n\r\n\r\nExample of use\r\n==============\r\n\r\nYou can directly erect scaffolding **without installing nothing on your system**.\r\n\r\nExample, if you want erect `Python package scaffolding `_ \r\nscaffolding then **Paste that at a Terminal prompt** :\r\n\r\n::\r\n\r\n $ python -c \"$(curl -fsSL https://raw.github.com/harobed/echafaudage/master/echafaudage.py)\" -s https://github.com/harobed/python_package_scaffolding/archive/master.zip /tmp/my_new_project\r\n\r\n\r\nNext *echafaudage* ask some questions :\r\n\r\n::\r\n\r\n mail : contact@stephane-klein.info\r\n version : 0.1.0\r\n package_name : my-project\r\n author : St\u00e9phane Klein\r\n\r\nNow your project is in ``/tmp/my_new_project/``\r\n\r\n::\r\n\r\n $ ls /tmp/my_new_project/\r\n bootstrap.py devel-requirements.txt my_project requirements.txt setup.py tests unittest.cfg\r\n\r\n\r\nYou can also install \"echafaudage\" on your system\r\n==================================================\r\n\r\n::\r\n\r\n $ pip install echafaudage\r\n \r\nAnd use ``echafaudage`` like this :\r\n\r\n::\r\n\r\n $ echafaudage -s https://github.com/harobed/python_package_scaffolding/archive/master.zip /tmp/my_new_project\r\n\r\nYou can also directly set some variable in command line :\r\n\r\n::\r\n\r\n $ echafaudage -s https://github.com/harobed/python_package_scaffolding/archive/master.zip /tmp/my_new_project --vars project_name=my-project,version=1.0\r\n\r\n\r\nechafaudage usage\r\n=================\r\n\r\n::\r\n\r\n $ bin/echafaudage --help\r\n Usage: echafaudage [options] -s []\r\n\r\n Arguments:\r\n TARGET where scaffolding will be created, by default it is \".\" (current directory)\r\n\r\n\r\n Options:\r\n -s, --scaffolding= The scaffolding to use, can be a directory path,\r\n an archive or archive url.\r\n --vars= Custom variables, e.g --vars hello=world,sky=blue\r\n -h --help Show this screen.\r\n -v, --verbose\r\n --version\r\n\r\n\r\n Example:\r\n\r\n $ echafaudage -s /path/to/directory/\r\n\r\n or\r\n\r\n $ echafaudage -s my_scaffolding.tar.gz\r\n\r\n or\r\n\r\n $ echafaudage -s http://example.com/my_scaffolding.tar.gz\r\n\r\n\r\nHow to create new scaffolding\r\n=============================\r\n\r\nFirst, you can see `Python package scaffolding `_ \r\nscaffolding example.\r\n\r\nIn this repository : \r\n\r\n::\r\n\r\n .\r\n \u251c\u2500\u2500 README.rst\r\n \u251c\u2500\u2500 bootstrap.py\r\n \u251c\u2500\u2500 devel-requirements.txt\r\n \u251c\u2500\u2500 requirements.txt\r\n \u251c\u2500\u2500 scaffolding.json <= scaffolding configuration file\r\n \u251c\u2500\u2500 setup.py.tmpl <= template file\r\n \u251c\u2500\u2500 tests\r\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 test_basic.py\r\n \u251c\u2500\u2500 unittest.cfg\r\n \u2514\u2500\u2500 {{package_name_underscore}} <= this folder is renamed with \"package_name_underscore\" variable value\r\n \u2514\u2500\u2500 __init__.py.tmpl <= template file\r\n\r\n``{{package_name_underscore}}/__init__.py.tmpl`` content :\r\n\r\n::\r\n\r\n __version__ = '{{version}}'\r\n\r\n| The file with ``.tmpl`` extension are templates files.\r\n| Template file are parsed by `tempita `_ template engine with variables\r\n pass to *echafaudage*.\r\n| The ``.tmpl`` extension is stripped in target folder.\r\n\r\nThe ``scaffolding.json`` (json format) configure the variable list :\r\n\r\n::\r\n\r\n {\r\n \"variables\": {\r\n \"package_name\": null,\r\n \"author\": null,\r\n \"mail\": null,\r\n \"package_name_underscore\": {\r\n \"lambda\": \"vars['package_name'].replace('-', '_')\"\r\n },\r\n \"version\": {\r\n \"default\": \"0.1.0\"\r\n }\r\n },\r\n \"ignores\": [\r\n \"README.rst\"\r\n ]\r\n }\r\n\r\n* \"variables\" is dict with the list of variables\r\n* \"ignores\" is a list with the list of file to ignore\r\n\r\nSee also\r\n========\r\n\r\nIf you want more powered scaffolding tool, you can look at `mr.bob `_.\r\n\r\nMore information about Python Skeleton Builder Tools see this wiki page : https://wiki.python.org/moin/SkeletonBuilderTools", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://harobed.github.io/echafaudage/", "keywords": "scaffolding skeleton", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "echafaudage", "package_url": "https://pypi.org/project/echafaudage/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/echafaudage/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://harobed.github.io/echafaudage/" }, "release_url": "https://pypi.org/project/echafaudage/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "A lighting scaffolding python tool without dependencies", "version": "0.1.0" }, "last_serial": 857751, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7b6c0a524e13e459ef997b305d553879", "sha256": "6dc538e2a597200d49dd301bce5964f20e4a26e6bb155e798b3f7f43f508332e" }, "downloads": -1, "filename": "echafaudage-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7b6c0a524e13e459ef997b305d553879", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21757, "upload_time": "2013-09-05T11:47:01", "url": "https://files.pythonhosted.org/packages/fa/04/6af0182eda68e181535b3c74a464699304226d8d01460c70448db73459c2/echafaudage-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7b6c0a524e13e459ef997b305d553879", "sha256": "6dc538e2a597200d49dd301bce5964f20e4a26e6bb155e798b3f7f43f508332e" }, "downloads": -1, "filename": "echafaudage-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7b6c0a524e13e459ef997b305d553879", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21757, "upload_time": "2013-09-05T11:47:01", "url": "https://files.pythonhosted.org/packages/fa/04/6af0182eda68e181535b3c74a464699304226d8d01460c70448db73459c2/echafaudage-0.1.0.tar.gz" } ] }