Skip to main content

generate fanstatic package

Project description

  1. create depenency config

  2. download repository files via dependency config

  3. create config for generating package via scannig downloaded repository

  4. generating fanstatic packages

$ metafanstatic search bootstrap-timepicker
# 1. create depenency config
$ metafanstatic dependency --recursive bootstrap-timepicker > config.json
# 2. download repository files via dependency config
$ metafanstatic download  --config config.json
# 3. create config for generating package via scannig downloaded repository
$ metafanstatic scan `ls | grep -v *.json` > generate.config.json
# 4. generating fanstatic packages
$ metafanstatic create generate.config.json .

after above instraction

$ ls
autotype                        generate.config.json            meta.js.bootstrap-timepicker
bootstrap-2.3.2                 jquery-2.0.3                    meta.js.jquery
bootstrap-timepicker-0.2.6      meta.js.autotype
config.json                     meta.js.bootstrap

after install package

# for i in meta.*; do popd $i; python setup.py develop; popd; done
$ metafanstatic list
from js.autotype import jquery_autotype_js; jquery_autotype_js.need()
from js.bootstrap import bootstrap_css; bootstrap_css.need()
from js.bootstrap import bootstrap_js; bootstrap_js.need()
from js.bootstrap_timepicker import bootstrap_timepicker_min_css; bootstrap_timepicker_min_css.need()
from js.bootstrap_timepicker import bootstrap_timepicker_min_js; bootstrap_timepicker_min_js.need()
from js.jquery import jquery_js; jquery_js.need()

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

metafanstatic-0.1.1.tar.gz (12.9 kB view hashes)

Uploaded Source

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