fanstatic 工具
项目描述
Fanstatic 是一个智能的 Python 静态资源发布器。有关更多信息以及如何使用它,请参阅: http://fanstatic.org
Shell 工具
Fanstatic 工具包含一个名为 mkfanstaticsymlink 的实用脚本。请在 shell 提示符下输入 mkfanstaticsymlink --help 以获取有关此工具的更多信息。
$ mkfanstaticsymlink make symlink fanstatic/angularjs to ../site-packages/js/angular/resources make symlink fanstatic/bootstrap to ../site-packages/js/bootstrap/resources make symlink fanstatic/jquery to ../site-packages/js/jquery/resources $ mkfanstaticsymlink --sys_path_appends=site-packages --versioning --versioning_use_md5 --base_url=static --publisher_signature=lib --dry-run make symlink static/lib/angularjs/+version+643d90594087d56cea34e2b460fc94f2 to ../../../site-packages/js/angular/resources make symlink static/lib/bootstrap/+version+94b615ca583b25c0374fac2f91e6a814 to ../../../site-packages/js/bootstrap/resources make symlink static/lib/jquery/+version+171ea6989058db3f1fa646d1292bb650 to ../../../site-packages/js/jquery/resources
安装
使用 pip 从 PyPI 安装
pip install fanstatic-tools
使用 easy_install 从 PyPI 安装
easy_install fanstatic-tools
从源代码安装
python setup.py install
依赖项
Python 2.6, 2.7, 3.2+ 或 PyPy。
许可协议
Fanstatic 工具根据 BSD 3-Clause 许可协议进行许可。
版权 2012 ENDOH takanao。