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 gae/site-packages/js/angular/resources
make symlink fanstatic/bootstrap to gae/site-packages/js/bootstrap/resources
make symlink fanstatic/jquery to gae/site-packages/js/jquery/resources

$ PYTHONPATH=gae/site-packages mkfanstaticsymlink --versioning --versioning_use_md5 --base_url=gae/static --publisher_signature=lib --dry-run
make symlink gae/static/lib/angularjs/+version+643d90594087d56cea34e2b460fc94f2 to gae/site-packages/js/angular/resources
make symlink gae/static/lib/bootstrap/+version+94b615ca583b25c0374fac2f91e6a814 to gae/site-packages/js/bootstrap/resources
make symlink gae/static/lib/jquery/+version+171ea6989058db3f1fa646d1292bb650 to gae/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.1.tar.gz (174.7 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for fanstatic-tools-0.1.tar.gz
Algorithm Hash digest
SHA256 40cd98169c28283c1ce6dec5f7a7bdfa10dc98308e8c7cca1024388f6bb9d4bb
MD5 7cd1a782bf15f4e2ee8a6bf01f79c626
BLAKE2b-256 32e604a899446db51435f0969d8ea1a4b7d443027e3ed79b347273f0b55e3a60

See more details on using hashes here.

Provenance

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