{ "info": { "author": "Foursquare", "author_email": "pants@foursquare.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License" ], "description": "Spindle Codegen Plugin\r\n=================\r\n\r\nA plugin for the Pants build system to use Foursquare's\r\n`Spindle `_ to Thrift-to-Scala code generator.\r\n\r\n\r\n\r\nConfiguration\r\n----------\r\n\r\n\r\n``pants.ini``\r\n^^^^^^^^^^^^^\r\n\r\nThe ``spindle-gen`` section of pants.ini must contain ``bootstrap-tools`` and ``scala_record``.\r\n\r\nThe list ``bootstrap-tools`` should include the address of a ``jar_library`` target (usually defined\r\nin ``BUILD.tools``_) for the spindle codegen jar.\r\n\r\nThe dictionary ``scala_record`` should include a list ``deps`` of address specs to be added to the\r\n``dependencies`` of generated targets.\r\n\r\nThe minimal pants.ini additions to get Spindle working likely looks more or less like::\r\n\r\n [spindle-gen]\r\n bootstrap-tools: ['//:spindle-codegen']\r\n scala_record: {\r\n 'target_language': 'scala',\r\n 'template': 'scala/record.ssp',\r\n 'javaTemplate': 'javagen/record.ssp',\r\n 'options': '',\r\n 'deps': [\r\n '3rdparty:spindle-runtime',\r\n '3rdparty:mongodb',\r\n '3rdparty:joda-time',\r\n '3rdparty:scalaj-collection',\r\n ]\r\n }\r\n\r\n\r\n``BUILD.tools``\r\n^^^^^^^^^^^^^^^\r\nThe ``bootstrap-tools`` config in ``pants.ini`` should point to a target that specifies a spindle\r\ncodegen jar::\r\n jar_library(\r\n name = 'spindle-codegen',\r\n jars = [\r\n jar(org = 'com.foursquare', name = 'spindle-codegen-binary_2.10', rev = '3.0.0-M5.1'),\r\n ],\r\n )", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/foursquare/pants-spindle/tags/v0.0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/foursquare/pants-spindle", "keywords": "pantsbuild,pantsbuild plugin,thrift,scala,codegen", "license": "UNKNOWN", "maintainer": "", "maintainer_email": "", "name": "foursquare.pants.spindle", "package_url": "https://pypi.org/project/foursquare.pants.spindle/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/foursquare.pants.spindle/", "project_urls": { "Download": "https://github.com/foursquare/pants-spindle/tags/v0.0.1", "Homepage": "https://github.com/foursquare/pants-spindle" }, "release_url": "https://pypi.org/project/foursquare.pants.spindle/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "Spindle Thrift-to-Scala code generation plugin for pants build system", "version": "0.0.1" }, "last_serial": 1333508, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "98a6e068da9c8b170b3357e92304548c", "sha256": "78334863c3c6da4e0f0da78e9c1162699dd986040fa028daa998104397e2a5bb" }, "downloads": -1, "filename": "foursquare.pants.spindle-0.0.1.tar.gz", "has_sig": false, "md5_digest": "98a6e068da9c8b170b3357e92304548c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4731, "upload_time": "2014-12-06T21:05:18", "url": "https://files.pythonhosted.org/packages/a8/06/9a085cfb174729696b2682cd0f61bec0afed23333435e1372277f63d786a/foursquare.pants.spindle-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "98a6e068da9c8b170b3357e92304548c", "sha256": "78334863c3c6da4e0f0da78e9c1162699dd986040fa028daa998104397e2a5bb" }, "downloads": -1, "filename": "foursquare.pants.spindle-0.0.1.tar.gz", "has_sig": false, "md5_digest": "98a6e068da9c8b170b3357e92304548c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4731, "upload_time": "2014-12-06T21:05:18", "url": "https://files.pythonhosted.org/packages/a8/06/9a085cfb174729696b2682cd0f61bec0afed23333435e1372277f63d786a/foursquare.pants.spindle-0.0.1.tar.gz" } ] }