{ "info": { "author": "Reinout van Rees", "author_email": "reinout@vanrees.org", "bugtrack_url": null, "classifiers": [], "description": "sdistmaker\n==========\n\nCreate sdist tarballs from svn tags, intended for use with a company-internal\nsvn repository. Creates sdist tarballs into a directory you can then serve\nwith apache.\n\nsdistmaker used to be called tha.sdistmaker before version 1.2.\n\n\nInstallation and basic usage\n----------------------------\n\nA simple ``easy_install sdistmaker`` is enough. This gives you two scripts:\n\n- ``make_sdist``, mainly for test purposes. Pass it an svn tag url and a\n destination dir and it will make a release.\n\n- ``sdists_from_tags`` is the main script. It searches an svn structure for\n suitable tags and makes releases of them.\n\nFor starters, just run ``sdists_from_tags``. It will create a ``var/private``\ndirectory and fill it with (as an example!) all zest.releaser releases.\n\nBoth scripts have a ``--help`` option that show all available options and a\nusage instruction.\n\n\nConfiguration\n-------------\n\nConfiguration is by means of a python file. Easiest way to get started is by\nprinting sdistmaker's own base defaults.py by doing::\n\n $> sdists_from_tags --print-example-defaults\n\nSave the output as a python file (suggestion: defaults.py). You can then\nadapt it to your liking and use it with ``sdists_from_tags\n--defaults-file=defaults.py``. The defaults file is documented in-line, so it\nshould be easy to adapt.\n\n\nUsage in a buildout\n-------------------\n\nYou can use sdistmaker in a buildout like this::\n\n [buildout]\n parts = sdists\n\n [sdists]\n recipe = zc.recipe.egg\n eggs = sdistmaker\n scripts = sdists_from_tags\n # arguments =\n # defaults_file='${buildout:directory}/defaults.py',\n\nThe ``defaults.py`` is created in the same way as above.\n\n\nUsing sdistmaker in combination with the real pypi\n--------------------------------------------------\n\nA structure like generated with sdistmaker is a perfect index for easy_install\nand buildout if you let apache host it. Only problem: you can only have one\nindex (note: pip apparently supports multiple indexes). You can solve this\nproblem by having apache redirect you to pypi when something is not found.\n\nHere's an example apache config snippet::\n\n # Allow indexing\n Options +Indexes\n IndexOptions FancyIndexing VersionSort\n\n # Start of rewriterules to use our own var/private/* packages\n # when available and to redirect to pypi if not.\n RewriteEngine On\n # Use our robots.txt:\n RewriteRule ^/robots.txt - [L]\n # Use our apache's icons:\n RewriteRule ^/icons/.* - [L]\n # We want OUR index. Specified in a weird way as apache\n # searches in a weird way for index.htm index.html index.php etc.\n RewriteRule ^/index\\..* - [L]\n\n # Use our var/private/PROJECTNAME if available,\n # redirect to pypi otherwise:\n RewriteCond /path/on/server/var/private/$1 !-f\n RewriteCond /path/on/server/var/private/$1 !-d\n RewriteRule ^/([^/]+)/?$ http://pypi.python.org/pypi/$1/ [P,L]\n\n # Use our var/private/PROJECTNAME/project-0.1.tar.gz if available,\n # redirect to pypi otherwise:\n RewriteCond /path/on/server/var/private/$1 !-d\n RewriteRule ^/([^/]+)/([^/]+)$ http://pypi.python.org/pypi/$1/$2 [P,L]\n\n\nUsing the apache-served index\n-----------------------------\n\nYou can use such a custom apache-served index in two ways. Easy_install has a\n``-i`` option for passing along an index::\n\n $> easy_install -i http://packages.my.server/ zest.releaser\n\nIn buildout, you can set it like this::\n\n [buildout]\n index = http://packages.my.server/\n parts =\n ...\n\n\n\nReporting bugs\n--------------\n\nYou can report bugs or feature requests at\nhttp://bitbucket.org/reinout/sdistmaker/issues/\n\n\nCredits\n-------\n\nWritten by `Reinout van Rees `_. Started while at\n`The Health Agency `_, improved at `Nelen &\nSchuurmans `_.\n\nDev-and-revision-marker fix by Wouter Vanden Hove.\n\n\nTODO\n====\n\n- Nothing specific at the moment.\n\n\nChangelog of sdistmaker\n=======================\n\n\n1.4 (2010-03-19)\n----------------\n\n- Don't crash when setup.cfg contains dev-and-revisionmarkers. [WouterVH]\n\n\n1.3 (2010-03-01)\n----------------\n\n- Added MANIFEST.in to get reliable releases with mercurial. Sorry for\n messing up the 1.2 release and thanks to Maurits for pushing out a quick\n 1.2.2.\n\n\n1.2.2 (2010-02-26)\n------------------\n\n- Fixed broken release with missing TODO.txt.\n\n\n1.2.1 (2010-02-25)\n------------------\n\n- Small documentation fixes.\n\n\n1.2 (2010-02-25)\n----------------\n\n- **Renamed from tha.sdistmaker to sdistmaker**.\n\n- Huge documentation improvement.\n\n- Using optparse for the scripts so that they have a better usage message.\n This greatly improves documentation.\n\n- Not showing the doctest from ``USAGE.txt`` anymore in the long description.\n That just wasn't readable documentation.\n\n- The output directory is created when missing.\n\n\n1.1 (2009-12-22)\n----------------\n\n- Documentation update.\n\n\n1.0 (2009-12-21)\n----------------\n\n- Setup.py cleanup.\n\n\n0.4 (2009-11-09)\n----------------\n\n- Replacing base and base_on_server the right way around, now.\n\n\n0.2 (2009-11-09)\n----------------\n\n- Cleaning up the tempdir after we're finished with it. And cd'ing out of\n that dir before zapping it.\n\n- Using buildout's bin/python so that we get setuptools also when run on the\n server where there's no global setuptools. This assumes we're always run\n within buildout: fine with me.\n\n\n0.1 (2009-11-06)\n----------------\n\n- Added sdist_from_tags script for creating all tarballs.\n\n- Added make_sdist script for creating a single sdist.\n\n- Initial library skeleton created by thaskel.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/reinout/sdistmaker/", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "sdistmaker", "package_url": "https://pypi.org/project/sdistmaker/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sdistmaker/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/reinout/sdistmaker/" }, "release_url": "https://pypi.org/project/sdistmaker/1.4/", "requires_dist": null, "requires_python": null, "summary": "Make sdists tarballs for projects in svn tree", "version": "1.4" }, "last_serial": 732950, "releases": { "1.2": [ { "comment_text": "", "digests": { "md5": "93ccfcc2a5e7f5031468009f66d7bc79", "sha256": "e183c85482d261f2d44355cba6ec04ff4a38cf71a8eccf807615d2d3f34e92c8" }, "downloads": -1, "filename": "sdistmaker-1.2.tar.gz", "has_sig": false, "md5_digest": "93ccfcc2a5e7f5031468009f66d7bc79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6357, "upload_time": "2010-02-25T12:42:46", "url": "https://files.pythonhosted.org/packages/c3/9c/4b0a4912562a3d02c7db5b0a5b0b4739a673ce6c9825c9bb62a941e527ae/sdistmaker-1.2.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "587952fd93f2452129ef45917fc69bd4", "sha256": "c9a4ea0a46e4743961f2efa06cc51824aeb24d6d3ba521aae638caf21590e75e" }, "downloads": -1, "filename": "sdistmaker-1.2.1.tar.gz", "has_sig": false, "md5_digest": "587952fd93f2452129ef45917fc69bd4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6409, "upload_time": "2010-02-25T13:30:10", "url": "https://files.pythonhosted.org/packages/1b/b1/c5d9f7f842a1b1fa146a3036619e536595da3788eaead6ffe41d674a12c3/sdistmaker-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "aacc10841ee38234e673c22571031439", "sha256": "b3ae7fd432669aa7c92df737e904e3d345bb8c2dbffa3df6de05b1367170a215" }, "downloads": -1, "filename": "sdistmaker-1.2.2.zip", "has_sig": false, "md5_digest": "aacc10841ee38234e673c22571031439", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18132, "upload_time": "2010-02-26T13:27:39", "url": "https://files.pythonhosted.org/packages/e8/ff/41165225d5720fb9c4b7dcb341e56076785ba78aa615302ca003d9d57b10/sdistmaker-1.2.2.zip" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "e92628048345af59e9db8be4ce06a474", "sha256": "df202e818557c2080f80c08826487d1b12e1f5f1d93bda534b75e887a5b0678f" }, "downloads": -1, "filename": "sdistmaker-1.3.tar.gz", "has_sig": false, "md5_digest": "e92628048345af59e9db8be4ce06a474", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9606, "upload_time": "2010-03-01T10:58:39", "url": "https://files.pythonhosted.org/packages/39/e6/941a58f10f5dbf8adb4902a55ad42664de2de8eae3c0c13bd855d29d75f8/sdistmaker-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "f4cd512ccfafad839a0b9b41b0aef117", "sha256": "4c80618e92b88bd867e5b2147e5752176fa41296094896603895c48da9f36499" }, "downloads": -1, "filename": "sdistmaker-1.4.tar.gz", "has_sig": false, "md5_digest": "f4cd512ccfafad839a0b9b41b0aef117", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11262, "upload_time": "2010-03-19T12:20:31", "url": "https://files.pythonhosted.org/packages/68/f6/f416ede8b651e3add6b49661c451a4543e83318b301e0e9cb9fa1873782c/sdistmaker-1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f4cd512ccfafad839a0b9b41b0aef117", "sha256": "4c80618e92b88bd867e5b2147e5752176fa41296094896603895c48da9f36499" }, "downloads": -1, "filename": "sdistmaker-1.4.tar.gz", "has_sig": false, "md5_digest": "f4cd512ccfafad839a0b9b41b0aef117", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11262, "upload_time": "2010-03-19T12:20:31", "url": "https://files.pythonhosted.org/packages/68/f6/f416ede8b651e3add6b49661c451a4543e83318b301e0e9cb9fa1873782c/sdistmaker-1.4.tar.gz" } ] }