packages your Python packages/files into a brython_modules.js
Project description
Introduction
brython-pack packages your Python packages/files into a brython_modules.js. The output is a brython_modules.js in your current directory. It is used to pack up pyecharts.js
Installation
You can install it via pip:
$ pip install brython-pack
or clone it and install it:
$ git clone http://github.com/chfw/brython-pack.git
$ cd brython-pack
$ python setup.py install
Limitation
It cannot find the requirements.txt file for you, which you need to figure it out by yourself. Once you will have the dependency list(the dependency on brython_stdlib.js), the packing step is straight foward.
Usage
usage: bp brython_stdlib.js requirements.txt your packages and file list where: brython_stdlib.js: should be the accessible path to the lib file. requirements.txt: is the hard coded and manually worked out dependencies on brython_stdlib.txt. Not the pip requirements.txt. your packages file list: could be given as space separated arguments. examples: bp dependencies/brython_stdlib.js requirements.txt pyecharts editor.py
Change log
0.0.1 - unreleased
First commit - being able to create an optimal brython_modules.js
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
brython-pack-0.0.1.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for brython_pack-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fa65537204fd65b4863aead2194210f6c6e66673ba9757600e249f7bea6454f |
|
MD5 | 4d71c6429295954f0956be7c3ebce56f |
|
BLAKE2b-256 | c1e69fcf8a40580c9d6ff52010f6d39e9f86ebb6bd591dc505e869b95dd628a6 |