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 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
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.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
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
Built Distribution
Hashes for brython_pack-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2325d2ad56d5e60810794e9229f376095979aef69e9d552b449254063d18aad |
|
MD5 | 2b752c6cab273b0914312862b72f950c |
|
BLAKE2b-256 | fe92f273057b9d05984ff1245ab039a5ea2318e927c7269d68d468284ce80463 |