Skip to main content

fanstatic tools

Project description

Fanstatic is a smart static resource publisher for Python. For more information on what it’s about and how to use it, see: http://fanstatic.org

Shell Utilities

Fanstatic tools comes with a utility script called mkfanstaticsymlink. Please type mkfanstaticsymlink --help at the shell prompt to know more about this tool.

$ 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

Installation

Installing from PyPI using pip:

pip install fanstatic-tools

Installing from PyPI using easy_install:

easy_install fanstatic-tools

Installing from source:

python setup.py install

Dependencies

  1. Python 2.6, 2.7, 3.2+ or PyPy.

  2. six

Licensing

Fanstatic tools is licensed under the terms of the BSD 3-Clause.

Copyright 2012 ENDOH takanao.

Project source code is available at Github. Please report bugs and file enhancement requests at the issue tracker.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fanstatic-tools-0.2.tar.gz (174.8 kB view details)

Uploaded Source

File details

Details for the file fanstatic-tools-0.2.tar.gz.

File metadata

File hashes

Hashes for fanstatic-tools-0.2.tar.gz
Algorithm Hash digest
SHA256 7302b29044fa4435cd4707ba2709cf71e8c2f0dc69aac1bb09440da1d5118791
MD5 498b2671e26a8cc274172fa3bca7def9
BLAKE2b-256 7bc166bd9f383248a55a38d1a27d4a506fb5c7a4f385e7e2bf8b25c34651d7b3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page