{ "info": { "author": "ENDOH takanao", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries", "Topic :: System :: Filesystems", "Topic :: System :: Monitoring", "Topic :: Utilities" ], "description": "Watch Lion\n==========\nA simple shell utility to monitor file system events on Mac OS X 10.7+ (Lion or newer).\n\n\nShell Utilities\n---------------\nWatch Lion comes with a utility script called ``watchlion``.\nPlease type ``watchlion --help`` at the shell prompt to\nknow more about this tool.\n\n``watchlion`` can read ``.watchlion.yml`` files and execute command within them in\nresponse to file system events. The ``.watchlion.yml`` file will be monitored and\nloading when it has been updated.\n\nAn example ``.watchlion.yml`` file::\n\n build:\n coffee: make js\n haml: make html\n py: make test\n sass: make css\n loglevel: info\n\nAn example ``Makefile`` file::\n\n .SUFFIXES: .coffee .js\n .coffee.js:\n \tcoffee -b -c $<\n .SUFFIXES: .js .min.js\n .js.min.js:\n \tuglifyjs -nc -o $@ $<\n COFFEE = $(wildcard *.coffee)\n JS = $(COFFEE:.coffee=.js)\n MINJS = $(JS:.js=.min.js)\n\n .SUFFIXES: .haml .html\n .haml.html:\n \thaml -f html5 -t ugly $< $@\n HAML = $(wildcard *.haml)\n HTML = $(HAML:.haml=.html)\n\n .SUFFIXES: .sass .css\n .sass.css:\n \tcompass compile $< -c config.rb\n .SUFFIXES: .sass .min.css\n .sass.min.css:\n \tcompass compile --environment production $< -c config.rb\n \tmv $*.css $@\n SASS = $(wildcard *.sass)\n CSS = $(SASS:.sass=.css)\n MINCSS = $(SASS:.sass=.min.css)\n\n css: $(MINCSS) $(CSS)\n html: $(HTML)\n js: $(JS) $(MINJS)\n test:\n \tpy.test\n\nThen run ``watchlion`` command::\n\n $ watchlion\n INFO:root:load_config: loading .watchlion.yml\n ...\n\nWill start building js files when you update a coffee file::\n\n ...\n INFO:root:make js\n coffee -b -c main.coffee\n uglifyjs -nc -o main.min.js main.js\n ...\n\nYou can use control-C to stop ``watchlion`` .\n\n\nInstallation\n------------\nInstalling from PyPI using ``pip``::\n\n pip install watchlion\n\nInstalling from PyPI using ``easy_install``::\n\n easy_install watchlion\n\nInstalling from source::\n\n python setup.py install\n\n\nInstallation Caveats\n~~~~~~~~~~~~~~~~~~~~\nThe ``watchlion`` script depends on PyYAML_ which links with LibYAML_,\nwhich brings a performance boost to the PyYAML parser. However, installing\nLibYAML_ is optional but recommended. On Mac OS X, you can use homebrew_\nto install LibYAML::\n\n brew install libyaml\n\nSupported Platforms\n-------------------\n* Mac OS X 10.7+ (require FSEvents_)\n\n\nDependencies\n------------\n1. Python 2.6 or above.\n2. XCode_\n3. PyYAML_\n\n\nLicensing\n---------\nWatch Lion is licensed under the terms of the MIT_.\n\nCopyright 2012 ENDOH takanao.\n\nProject `source code`_ is available at Github. Please report bugs and file\nenhancement requests at the `issue tracker`_.\n\n\n.. links:\n.. _source code: http://github.com/MiCHiLU/watchlion\n.. _issue tracker: http://github.com/MiCHiLU/watchlion/issues\n.. _MIT: http://opensource.org/licenses/MIT\n\n.. _homebrew: http://mxcl.github.com/homebrew/\n.. _PyYAML: http://www.pyyaml.org/\n.. _FSEvents: http://developer.apple.com/documentation/Darwin/Conceptual/FSEvents_ProgGuide/\n.. _XCode: http://developer.apple.com/technologies/tools/xcode.html\n.. _LibYAML: http://pyyaml.org/wiki/LibYAML", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/MiCHiLU/watchlion", "keywords": "python filesystem monitoring monitor FSEvents", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "watchlion", "package_url": "https://pypi.org/project/watchlion/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/watchlion/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/MiCHiLU/watchlion" }, "release_url": "https://pypi.org/project/watchlion/0.3/", "requires_dist": null, "requires_python": null, "summary": "Filesystem events monitoring", "version": "0.3" }, "last_serial": 764815, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "f352fbe77fe8e4fbcbd258e546dfca1a", "sha256": "2e1f084ea67c9e940520f78c22b8f531e7006a34f809f2ed339e8ed7ecddde04" }, "downloads": -1, "filename": "watchlion-0.2.tar.gz", "has_sig": false, "md5_digest": "f352fbe77fe8e4fbcbd258e546dfca1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5430, "upload_time": "2013-03-01T05:04:20", "url": "https://files.pythonhosted.org/packages/87/22/e16852514f1bbbad68e80e6bc88c8964a206ce992a9f160cd14d6976625c/watchlion-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "c183011f94e6409a3039d8929a0241e8", "sha256": "46883e1b0ee81328cf5088459e305f90006d338d0515bf308dbc97074fb456ef" }, "downloads": -1, "filename": "watchlion-0.3.tar.gz", "has_sig": false, "md5_digest": "c183011f94e6409a3039d8929a0241e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5473, "upload_time": "2013-03-04T05:27:23", "url": "https://files.pythonhosted.org/packages/d0/63/3be6edf0749383fa11894152dbe2002fed50e5a1a0008d96ed8b72676c19/watchlion-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c183011f94e6409a3039d8929a0241e8", "sha256": "46883e1b0ee81328cf5088459e305f90006d338d0515bf308dbc97074fb456ef" }, "downloads": -1, "filename": "watchlion-0.3.tar.gz", "has_sig": false, "md5_digest": "c183011f94e6409a3039d8929a0241e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5473, "upload_time": "2013-03-04T05:27:23", "url": "https://files.pythonhosted.org/packages/d0/63/3be6edf0749383fa11894152dbe2002fed50e5a1a0008d96ed8b72676c19/watchlion-0.3.tar.gz" } ] }