packages your Python packages/files into a brython_modules.js
You can install brython-pack via pip:
$ pip install brython-pack
or clone it and install it:
$ git clone https://github.com/chfw/brython-pack.git $ cd brython-pack $ python setup.py install
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: 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
0.0.2 - 23.10.2017
- pyexcel #105, remove gease from setup_requires, introduced by 0.1.3.
0.0.1 - unreleased
First commit - being able to create an optimal brython_modules.js
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, Size & Hash SHA256 Hash Help||File Type||Python Version||Upload Date|
(7.3 kB) Copy SHA256 Hash SHA256
|Wheel||3.5||Oct 23, 2017|
(5.5 kB) Copy SHA256 Hash SHA256
|Source||None||Oct 23, 2017|