{ "info": { "author": "Fanstatic Developers", "author_email": "fanstatic@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "css.css3githubbuttons\n*********************\n\nIntroduction\n============\n\nThis library packages `CSS3 GitHub Buttons`_ for `fanstatic`_. Check out\na `demo`_ of this library - it's really nice. This library provides\nthe default buttons and various extensions as per the demo. As a bonus, this\nlibrary also packages up minified versions of the library's CSS.\n\nThere's a *lot* of versions of this CSS library floating around,\nso we're currently using the one provided by ``CodeFusion``, a fork\nof the library originally provided by \n`necolas `_, on GitHub.\n\nIf development moves elsewhere, we can adjust the library accordingly.\nIf you're using this package and notice a change in development at\nhttps://github.com/CodeFusion/css3-github-buttons/network (such as\nsomeone has taken over development more than original author or is otherwise\ndoing more work) before we do, let us know or send a pull request.\n\nUsage\n=====\n\nInstall using your favourite method (``pip``, ``easy_install``, ``buildout``,\netc) and then in your code do this::\n\n import css.css3githubbuttons\n css.css3githubbuttons.buttons.need()\n\nThis requires integration between your web framework and ``fanstatic``,\nand making sure that the original resources (shipped in the ``resources``\ndirectory in ``css.css3githubbuttons``) are published to some URL.\n\nFor Pyramid, this can be as simple as installing and utilising \n`pyramid_fanstatic`_.\n\nExtensions\n----------\n\n``CodeFusion`` has provided a number of improvements and extensions to the\noriginal library. This Fanstatic package provides access to these extensions\nlike so::\n\n from css.css3githubbuttons import buttons_ext_sizes, buttons_ext_icons, buttons_ext_all\n\nFor extra button sizes (see\nhttp://demo.codefusionlab.com/css3-github-buttons/ext_button_size/index.html)::\n\n buttons_ext_sizes.need()\n\nFor extra (larger) icons (see\nhttp://demo.codefusionlab.com/css3-github-buttons/ext_button_icons/index.html)::\n\n buttons_ext_icons.need()\n\nOr for everything, do this::\n\n buttons_ext_all.need()\n\nKeep in mind that extensions automatically depend on the original CSS so\nyou don't need to ``need()`` that again!\n\nUpdating this package\n=====================\n\nGiven this package uses the latest (at the time of writing) GitHub master\nof the CSS library, it may (will) need updating at some point. \n\nThis process requires installation of the package for development - the\nsuggested method to do this is via the Buildout within this package::\n\n cd css.css3githubbuttons\n python boostrap.py\n ./bin/buildout\n\nFor minification of resources to succeed, you require a Java installation\nas this process uses the YUI Compressor library (via the ``minify``\nand ``yuicompressor`` Python packages).\n\nDo this at the base of the repository::\n\n pushd css/css3githubbuttons/resources\n wget https://github.com/CodeFusion/css3-github-buttons/archive/master.tar.gz\n rm -rf css3-github-buttons\n tar xf master.tar.gz\n rm master.tar.gz\n git mv css3-github-buttons-master css3-github-buttons\n git add css3-github-buttons\n popd\n #Minify the CSS\n python setup.py minify_buttons\n python setup.py minify_buttons_ext_icons\n python setup.py minify_buttons_ext_size\n git commit -a -m \"Updated to latest version\"\n git push\n\nNote\n----\n\nWe could use Git submodules but setuptools seems to *hate* them,\n``setuptools-git`` really doesn't want to agree with them,\n``zest.releaser`` doesn't support recursive cloning (yet; pull request\nsent), and so forth. Feel free to help improve this situation! Yikes!\n\nSo, let's resort to manually taking a copy of the files out of GitHub.\n\n.. _`fanstatic`: http://fanstatic.org\n.. _`CSS3 GitHub Buttons`: https://github.com/CodeFusion/css3-github-buttons\n.. _`demo`: http://demo.codefusionlab.com/css3-github-buttons/\n.. _`pyramid_fanstatic`: http://pypi.python.org/pypi/pyramid_fanstatic\n\n\n\nTests - How to use\n==================\n\nYou can import ``buttons`` from ``css.css3githubbuttons`` and ``need`` it\nwhere you want these resources to be included on a page::\n\n >>> from css.css3githubbuttons import buttons\n >>> buttons.need()\n\n\nChangelog\n*********\n\n\n2.1 (2012-12-10)\n================\n\n- Add minified versions of library and extensions and details how to produce\n minified versions.\n [davidjb]\n\n\n2.0 (2012-12-07)\n================\n\n- Switched to using CodeFusion's fork of necolas' GitHub buttons.\n See demo at http://demo.codefusionlab.com/css3-github-buttons/. As well as\n several fixes, this now provides disabled buttons, no text buttons, colours,\n more icons, and more sizes. Backwards compatibility should be maintained if\n you are not using new features (some extra CSS is introduced in the basic\n file).\n [davidjb]\n\n\n1.0.2 (2012-09-05)\n==================\n\n- Fix *another* failed release. Switch away from using a Git submodule\n because of various pieces failing around them.\n [davidjb]\n\n\n1.0.1 (2012-09-05)\n==================\n\n- Fix brown bag release.\n [davidjb]\n\n\n1.0 (2012-09-05)\n================\n\n- Initial release.\n [davidjb]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/davidjb/css.css3githubbuttons", "keywords": "fanstatic css3 buttons github", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "css.css3githubbuttons", "package_url": "https://pypi.org/project/css.css3githubbuttons/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/css.css3githubbuttons/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/davidjb/css.css3githubbuttons" }, "release_url": "https://pypi.org/project/css.css3githubbuttons/2.1/", "requires_dist": null, "requires_python": null, "summary": "Fanstatic packaging of CSS3 GitHub Buttons", "version": "2.1" }, "last_serial": 721942, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "bb4e85b98eaf00c05162cd3c6eeec998", "sha256": "29f23ea1541e9d7409d0d9da3e73b12d37d658bf996a508888abba1231d096da" }, "downloads": -1, "filename": "css.css3githubbuttons-1.0.2.zip", "has_sig": false, "md5_digest": "bb4e85b98eaf00c05162cd3c6eeec998", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21405, "upload_time": "2012-09-05T04:55:54", "url": "https://files.pythonhosted.org/packages/dd/f6/56456e0fd014e344a23b0bdb582f9085c89caf149617ba8c994066a8cfef/css.css3githubbuttons-1.0.2.zip" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "4cf5d537459b4de24e7a8531df9499ee", "sha256": "6bfab5875386d7e88426af9dd8945ee6f6a35747976629985b460053e967a77d" }, "downloads": -1, "filename": "css.css3githubbuttons-2.0.zip", "has_sig": false, "md5_digest": "4cf5d537459b4de24e7a8531df9499ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1455734, "upload_time": "2012-12-07T01:21:02", "url": "https://files.pythonhosted.org/packages/ed/66/917f6b86accc55dafc3c06a3b1e8d2555d9bbc3d1d15818df5c00cbb09a4/css.css3githubbuttons-2.0.zip" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "c98f12a7ff237528273fd00621bda1b5", "sha256": "83bc2863549da6cf67c42bb91b827b6e86199bcd5042b955558b8cb5c379d7ea" }, "downloads": -1, "filename": "css.css3githubbuttons-2.1.zip", "has_sig": false, "md5_digest": "c98f12a7ff237528273fd00621bda1b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1465607, "upload_time": "2012-12-10T01:11:21", "url": "https://files.pythonhosted.org/packages/bc/ff/b9fa599d652b7b2b278bc68cf7b76645bd4834721e3c6895ff6d49a760e4/css.css3githubbuttons-2.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c98f12a7ff237528273fd00621bda1b5", "sha256": "83bc2863549da6cf67c42bb91b827b6e86199bcd5042b955558b8cb5c379d7ea" }, "downloads": -1, "filename": "css.css3githubbuttons-2.1.zip", "has_sig": false, "md5_digest": "c98f12a7ff237528273fd00621bda1b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1465607, "upload_time": "2012-12-10T01:11:21", "url": "https://files.pythonhosted.org/packages/bc/ff/b9fa599d652b7b2b278bc68cf7b76645bd4834721e3c6895ff6d49a760e4/css.css3githubbuttons-2.1.zip" } ] }