Metadata-Version: 2.0
Name: brython-pack
Version: 0.0.1
Summary: packages your Python packages/files into a brython_modules.js
Home-page: https://github.com/chfw/brython-pack
Author: C.W.
Author-email: wangc_2011@hotmail.com
License: MIT
Download-URL: https://github.com/chfw/brython-pack/archive/0.0.1.tar.gz
Keywords: python
Platform: UNKNOWN
Classifier: Topic :: Office/Business
Classifier: Topic :: Utilities
Classifier: Topic :: Software Development :: Libraries
Classifier: Programming Language :: Python
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6

================================================================================
brython-pack - Pack up your python package for Brython.js
================================================================================

.. image:: https://api.travis-ci.org/chfw/brython-pack.svg?branch=master
   :target: http://travis-ci.org/chfw/brython-pack

.. image:: https://codecov.io/gh/chfw/brython-pack/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/chfw/brython-pack


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`_

.. _brython_modules.js: https://github.com/chfw/pyecharts.js/tree/master/public/js
.. _pyecharts.js: https://chfw.github.io/pyecharts.js


Installation
================================================================================


You can install it via pip:

.. code-block:: bash

    $ pip install brython-pack


or clone it and install it:

.. code-block:: bash

    $ 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




