{ "info": { "author": "assorted", "author_email": "jstools@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: BSD License", "Programming Language :: JavaScript", "Topic :: Software Development :: Build Tools" ], "description": "=========\n JSTools\n=========\n\n 'JSTools' is a collection of utilities for managing JavaScript libraries.\n\nInstall\n=======\n\n Until jstools is released into pypi, we suggest checking out jstools\n and installing using either 'python setup.py install' or 'python\n setup.py develop' from within your checkout.\n\nRequirements\n------------\n\n Should be python 2.4 friendly, tested most on python 2.5\n\nEasy Install\n------------\n\n $ easy_install jstools\n\n This will put the following scripts in '/your/python/distribution/bin'::\n\n $ bin/jsbuild\n $ bin/jsmin\n\n Depending on your system, this action may require sudo.\n\n\nEnvironment Install\n-------------------\n\n 'jstools' includes a script to create a contained python\n environment. This script also automatically downloads the yui\n compressor and puts it in a place jstools can find it.\n\n This script will turn a folder of your choice into a python\n environment [#]_ with the jstools scripts installed in a directory\n called 'bin'::\n\n $ easy_install -b ./ -e jstools\n $ python jstools/install_jstools ./jsdir\n\n This makes 'jsdir' jstools enabled with it's own 'bin'. source the\n script 'bin/activate', and now jsbuild and jsmin are on your path::\n\n $ cd jsdir\n $ . bin/activate\n\n\nOther Distribution Options\n--------------------------\n\n You can download jstools in whatever flavor your prefer::\n\n $ wget http://github.com/whitmo/jstools/tarball/master\n $ svn co http://svn.opengeo.org/jstools/trunk/ # not currently working\n $ git clone git://github.com/whitmo/jstools.git\n\n\nScripts\n=======\n\njsbuild\n-------\n\n Merges and compresses files according to a configuration file.\n jsbuild will walk each root directory specified in configuration,\n index all the files ending with .js and then compile an aggregate\n source based on the specification in the config file and the\n dependencies declared inside the files themselves.\n\n\nUsage\n~~~~~\n\njsbuild [options]\n\n\n\nOptions\n+++++++\n\nUsage: jsbuild [options] filename1.cfg [filename2.cfg...]\n\nOptions:\n -h, --help\n show this help message and exit\n\n -u, --uncompress\n Don't compresses aggregated javascript. jsbuild defaults to\n applying 'jsmin' to all output.\n\n -v, --verbose\n print more info\n\n -l, --list-only\n Only list javascript files that would have been merged\n\n -o OUTPUT_DIR, --output=OUTPUT_DIR\n Output directory for files jsbuild creates (defaults to current directory)\n\n -r RESOURCE_DIR, --resource=RESOURCE_DIR\n base directory for resource files (for interpolation)\n\n -b ROOT_DIR, --base-dir=ROOT_DIR\n base directory for root dirs (defaults to current directory)\n\n -j SINGLE_FILE, --just=SINGLE_FILE\n *New in 1.1*: Only create file for this section\n\n -s CONCAT, --single-file-build=CONCAT\n *New in 1.1*. Create a single file of all of possible output\n\n -c COMPRESSOR, --compressor=COMPRESSOR\n *New in 1.1*. Specify compressor plugin to use in form\n {specifier}:{'arguments_string'}.\n\n\nConfiguration Format\n~~~~~~~~~~~~~~~~~~~~\n\nA config file may have multiple uniquely named output files (ie\nmultiple sections).\n\nA section is formatted in the following fashion::\n\n [Output.js]\n root=\n path/to/where/files/are\n other/path/to/where/files/are\n\n license=path/to/license/for/these/libs\n\n first= \n 3rd/prototype.js\n core/application.js\n core/params.js\n\n last=\n core/api.js\n\n exclude=\n 3rd/exclude/file.js\n 3rd/exclude/dir\n r:3rd/exclude/.*debug.js\n #...\n\n\nThe files listed in the `first` section will be forced to load\n*before* all other files (in the order listed). The files in `last`\nsection will be forced to load *after* all the other files (in the\norder listed).\n\nThe files list in the `exclude` section will not be imported.\nAn exclude entry can be a relative path to a file or directory, or can be\na python regular expression starting with pattern `r:`, see python `re` syntax:\nhttp://docs.python.org/library/re.html#regular-expression-syntax\n\nThe configuration allows for the interpolation of variables defined in\nthe config file. '%(resource-dir)s' may be subsituted for the value\nof the -r flag.\n\nLines commented using '#' will be ignored. \n\nIf an `include` section is defined, jsbuild will only build listed\nfiles from this section and theirs dependencies, else all files from\n`root` section will be built.\n\n\nDependency Syntax\n~~~~~~~~~~~~~~~~~\n\nFile merging uses cues inside the candidate javascript files to\ndetermine dependencies. Two types of dependencies are specified \nwith two different comment formats within source files.\n\nTo specify that a target files must be included before a given \nsource file, include a comment of the following format:\n\n // @requires \n\n e.g.\n\n // @requires Geo/DataSource.js\n\nTo specify that a target file must be included at any place\nin the merged build - before or after a given source file - \ninclude a comment in the source file of the following format:\n\n // @include \n\n e.g.\n\n // @include Geo/DataSource.js\n\nNote that the \"exclude\" list in a configuration file will \noverride dependencies specified by the @requires and @include\ncomment directives described above.\n\njsmin\n-----\n\nCompresses an input stream of javascript to an output stream\n\n\nUsage\n~~~~~\n\njsmin < cat some.js > some-compressed.js\n\n\nLicense\n~~~~~~~\n-- The Software shall be used for Good, not Evil. --\n\nsee file for complete copyright\n\n\nLicense\n=======\n\nMixed. same as OpenLayers unless otherwhise noted\n\n\nBuildout Support\n================\n\nsee jstools/bo.txt\n\n\nRun Tests\n=========\n\n in the src dir in an environment w/ yuicomp installed::\n \n $ easy_install nose\n $ paver get_yuicomp\n $ cd test \n $ nosetests {options}\n\n or most simply::\n\n $ python setup.py test\n \n\nCredits\n=======\n\njstools started as a collection of build scripts as part of the\nOpenLayers Project[#]_.\n\nWhit Morriss (whit at opengeo.org) repackaged these scripts as jstools\nand Tim Schaub (tschaub at opengeo.org) did extensive reworking of tsort.\n\n\n.. [#] See `virtualenv `_ for\n more information about the python environment. You may activate\n and deactivate this environment to add the installed scripts to\n your path, localize python package installs and other niceties\n ala::\n\n $ source bin/activate\n $ deactivate\n\n.. [#] `OpenLayers Homepage `_ and `the\n original scripts `_\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/camptocamp/jstools", "keywords": "javascript", "license": "various/BSDish", "maintainer": "", "maintainer_email": "", "name": "JSTools", "package_url": "https://pypi.org/project/JSTools/", "platform": "", "project_url": "https://pypi.org/project/JSTools/", "project_urls": { "Homepage": "https://github.com/camptocamp/jstools" }, "release_url": "https://pypi.org/project/JSTools/1.0/", "requires_dist": null, "requires_python": "", "summary": "assorted python tools for building (packing, aggregating) javascript libraries", "version": "1.0" }, "last_serial": 3140642, "releases": { "0.1.4b": [], "0.1.5": [ { "comment_text": "", "digests": { "md5": "94b67d84e07b55d8f0b2f3c1fd4b0093", "sha256": "2ea38cd03d07cf47e328fed64ff9ecb05566f5c3d84054cdd79b13b51e62cd1b" }, "downloads": -1, "filename": "JSTools-0.1.5.tar.gz", "has_sig": false, "md5_digest": "94b67d84e07b55d8f0b2f3c1fd4b0093", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 404574, "upload_time": "2009-07-07T17:39:27", "url": "https://files.pythonhosted.org/packages/87/8a/fe5e51c12e00f25de3eb991d9c43674570120f883e33465dd5b19b4b8072/JSTools-0.1.5.tar.gz" } ], "0.1b": [ { "comment_text": "", "digests": { "md5": "934411ac4f11b35555cb5be00b198ec9", "sha256": "77ec62ff3afe7bd79beee4fbeb2098eddaa06475765786d46ccb45402bbed928" }, "downloads": -1, "filename": "JSTools-0.1b-py2.5.egg", "has_sig": false, "md5_digest": "934411ac4f11b35555cb5be00b198ec9", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 26409, "upload_time": "2008-12-24T19:53:21", "url": "https://files.pythonhosted.org/packages/6f/a2/a91f6281e1342e7cd70a295d06170d42356b5a94689ed9e229eca97bf82d/JSTools-0.1b-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "67055a7e8a3d5a6cfc49088851f2cf8c", "sha256": "dd08a24bc590c46280f1fb7f63b1a28660fde2f3418e8ba053aa100340cfd892" }, "downloads": -1, "filename": "JSTools-0.1b.tar.gz", "has_sig": false, "md5_digest": "67055a7e8a3d5a6cfc49088851f2cf8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 64137, "upload_time": "2008-12-24T19:53:19", "url": "https://files.pythonhosted.org/packages/44/65/334ecd42dca6b67f3413c1fd6448df22cb462e9d6c55c09cb617a171cc04/JSTools-0.1b.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "306ccb182a92813ae29f9c11348d71e4", "sha256": "ccd8ba51f744fddbd5ac205acf53fba3514edd547dfd265f3a0594f89890dac7" }, "downloads": -1, "filename": "JSTools-0.2.tar.gz", "has_sig": false, "md5_digest": "306ccb182a92813ae29f9c11348d71e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41782, "upload_time": "2011-03-22T09:35:20", "url": "https://files.pythonhosted.org/packages/99/e8/fda2e5fcac7a6d0b5a498d7d743cea6b844c291c297d452aa2973b7f574a/JSTools-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "92f4cd42100cd4dc0a7af97c31cab434", "sha256": "3784c5bdcc982437f78c0dacad515224a7c22b3c0471aad2dad2abd07a26dab5" }, "downloads": -1, "filename": "JSTools-0.2.1.tar.gz", "has_sig": false, "md5_digest": "92f4cd42100cd4dc0a7af97c31cab434", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41834, "upload_time": "2011-03-23T16:54:43", "url": "https://files.pythonhosted.org/packages/62/e9/f8aa1cb1f10f92c7035132732b89e8c765794b25afe2ac4558828f359a4a/JSTools-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "97331fa2e452e96cb1a6a66f81070afd", "sha256": "88242b76d45820b97ccd0516248efbe7f3ce267c45173759d3fe712d00aec3d2" }, "downloads": -1, "filename": "JSTools-0.2.2.tar.gz", "has_sig": false, "md5_digest": "97331fa2e452e96cb1a6a66f81070afd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41673, "upload_time": "2011-03-30T10:41:14", "url": "https://files.pythonhosted.org/packages/85/20/dad0e6a57231b84010cd0b627fff9474f403311b252c9de7518ec382ef35/JSTools-0.2.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "f422b3eccacb4dbc1c5c45f74aa76503", "sha256": "ac5eea745523d81b9bb5b9040ec8758a9ccb7c8e73f9d57d5855f8876e918c19" }, "downloads": -1, "filename": "JSTools-0.3.tar.gz", "has_sig": false, "md5_digest": "f422b3eccacb4dbc1c5c45f74aa76503", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41901, "upload_time": "2011-10-05T17:31:00", "url": "https://files.pythonhosted.org/packages/5b/c1/9858dd77b06c8ea44db10f9c4f89d0a06f1abce31335a39ea7f4d6099585/JSTools-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "4b52ae89336ad244a6bec86691136b2e", "sha256": "e3409649631320abee30ce0a9e3d24b34adc16f1c35186e91751fd48f1528e5c" }, "downloads": -1, "filename": "JSTools-0.4.tar.gz", "has_sig": false, "md5_digest": "4b52ae89336ad244a6bec86691136b2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42017, "upload_time": "2011-10-06T13:22:53", "url": "https://files.pythonhosted.org/packages/cd/be/b2bc21cd05266a073240d3b1e9c54535a7fe5a10df55a0fc13afc5618f82/JSTools-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "2daf35c2d84ad8070402ae0ec8d7801d", "sha256": "444bc1f2352377aaef46afc5eb1b5d027dbe2afcd9da68f40af54f707c59cfcf" }, "downloads": -1, "filename": "JSTools-0.5.tar.gz", "has_sig": false, "md5_digest": "2daf35c2d84ad8070402ae0ec8d7801d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44800, "upload_time": "2011-10-06T14:46:57", "url": "https://files.pythonhosted.org/packages/0f/87/21a88308505e238220004ee8ededa7584fdcacedc95bd21a567ae090540d/JSTools-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "e94d7439cbcb891e42e6c3bd1fe9d35a", "sha256": "593bf5732d6ce767e81617f9beef060561682d4b1eaa6b09c471dfd28711847c" }, "downloads": -1, "filename": "JSTools-0.6-py2.5.egg", "has_sig": false, "md5_digest": "e94d7439cbcb891e42e6c3bd1fe9d35a", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 44731, "upload_time": "2012-03-08T10:17:08", "url": "https://files.pythonhosted.org/packages/02/5a/8b1ea7d2e2c927e1d8829a34a31cc2abcec4309d98441f069a5714d53b1d/JSTools-0.6-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "cf293905d11f21fcf4448330a1121c45", "sha256": "243579d9a6cf545bc06d559c7aa407f464218e823bf29d6ad1866646a8fbfa00" }, "downloads": -1, "filename": "JSTools-0.6-py2.6.egg", "has_sig": false, "md5_digest": "cf293905d11f21fcf4448330a1121c45", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 44702, "upload_time": "2012-03-08T10:12:54", "url": "https://files.pythonhosted.org/packages/e8/46/056f3071c5da7296e2975543138f88610a23fa28e18d838efd71e71d1a8b/JSTools-0.6-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "fd6dd5e6cbd281216fa198f17ec60cb9", "sha256": "3a993921c9b99189e0c5d5bbe62b6ea1d0a59bf1469ea6eb4236f87aba3d3f13" }, "downloads": -1, "filename": "JSTools-0.6-py2.7.egg", "has_sig": false, "md5_digest": "fd6dd5e6cbd281216fa198f17ec60cb9", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 44366, "upload_time": "2012-03-08T10:17:59", "url": "https://files.pythonhosted.org/packages/fb/bf/23767952afb43664b0a55c550d46074c76f8ad5f7f94404d681771b2e249/JSTools-0.6-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "b238c073038b40e1288a5fd402f9e479", "sha256": "4a55724400cc6c58bb6648c09e4de5bb5c8b27f2c3f68c19199ed639595d4323" }, "downloads": -1, "filename": "JSTools-0.6.tar.gz", "has_sig": false, "md5_digest": "b238c073038b40e1288a5fd402f9e479", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44858, "upload_time": "2012-02-27T14:05:18", "url": "https://files.pythonhosted.org/packages/2b/aa/db10112b5626c3670ef53d87469d9b356cbeb965a472f39d2299c59bf7fd/JSTools-0.6.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "a4a3a4e000ffbe15151fa110fd23c689", "sha256": "bbbfb7b1141454438b62ca55e6e88df5b8d476a7dfb8aff9ca4c8ea9b0c988e3" }, "downloads": -1, "filename": "JSTools-1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "a4a3a4e000ffbe15151fa110fd23c689", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 25016, "upload_time": "2017-09-01T14:50:02", "url": "https://files.pythonhosted.org/packages/cb/3d/c005e243a0d2f16d9742a652dd2b7a6d0cf584a890d61cfc9beacc0ece13/JSTools-1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c6aceeb1b0912f702f8c0379a7aafc12", "sha256": "f9bd43a35426ef4d9ca074bca34355a64b0de84902b6c44566bfcce34e860927" }, "downloads": -1, "filename": "JSTools-1.0.tar.gz", "has_sig": false, "md5_digest": "c6aceeb1b0912f702f8c0379a7aafc12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20811, "upload_time": "2017-09-01T14:50:00", "url": "https://files.pythonhosted.org/packages/8a/d3/a8b7513dc9563500e15cd64323282552c4e4a49a697629f962c940352bcf/JSTools-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a4a3a4e000ffbe15151fa110fd23c689", "sha256": "bbbfb7b1141454438b62ca55e6e88df5b8d476a7dfb8aff9ca4c8ea9b0c988e3" }, "downloads": -1, "filename": "JSTools-1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "a4a3a4e000ffbe15151fa110fd23c689", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 25016, "upload_time": "2017-09-01T14:50:02", "url": "https://files.pythonhosted.org/packages/cb/3d/c005e243a0d2f16d9742a652dd2b7a6d0cf584a890d61cfc9beacc0ece13/JSTools-1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c6aceeb1b0912f702f8c0379a7aafc12", "sha256": "f9bd43a35426ef4d9ca074bca34355a64b0de84902b6c44566bfcce34e860927" }, "downloads": -1, "filename": "JSTools-1.0.tar.gz", "has_sig": false, "md5_digest": "c6aceeb1b0912f702f8c0379a7aafc12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20811, "upload_time": "2017-09-01T14:50:00", "url": "https://files.pythonhosted.org/packages/8a/d3/a8b7513dc9563500e15cd64323282552c4e4a49a697629f962c940352bcf/JSTools-1.0.tar.gz" } ] }