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.

Files for metafanstatic, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size metafanstatic-0.1.1.tar.gz (12.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page