Metadata-Version: 2.1
Name: pywebpack
Version: 1.0.1
Summary: Webpack integration layer for Python.
Home-page: https://github.com/inveniosoftware/pywebpack
Author: CERN
Author-email: info@inveniosoftware.org
License: BSD
Keywords: webpack npm node
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Development Status :: 5 - Production/Stable
Requires-Dist: pynpm (>=0.1.0)
Requires-Dist: node-semver (>=0.1.1)
Provides-Extra: all
Requires-Dist: Sphinx (>=1.5.1) ; extra == 'all'
Requires-Dist: check-manifest (>=0.25) ; extra == 'all'
Requires-Dist: coverage (>=4.0) ; extra == 'all'
Requires-Dist: isort (>=4.3.21) ; extra == 'all'
Requires-Dist: pydocstyle (>=1.0.0) ; extra == 'all'
Requires-Dist: pytest-cache (>=1.0) ; extra == 'all'
Requires-Dist: pytest-cov (>=1.8.0) ; extra == 'all'
Requires-Dist: pytest-pep8 (>=1.0.6) ; extra == 'all'
Requires-Dist: pytest (>=2.8.0) ; extra == 'all'
Provides-Extra: docs
Requires-Dist: Sphinx (>=1.5.1) ; extra == 'docs'
Provides-Extra: tests
Requires-Dist: check-manifest (>=0.25) ; extra == 'tests'
Requires-Dist: coverage (>=4.0) ; extra == 'tests'
Requires-Dist: isort (>=4.3.21) ; extra == 'tests'
Requires-Dist: pydocstyle (>=1.0.0) ; extra == 'tests'
Requires-Dist: pytest-cache (>=1.0) ; extra == 'tests'
Requires-Dist: pytest-cov (>=1.8.0) ; extra == 'tests'
Requires-Dist: pytest-pep8 (>=1.0.6) ; extra == 'tests'
Requires-Dist: pytest (>=2.8.0) ; extra == 'tests'

===========
 PyWebpack
===========

.. image:: https://img.shields.io/travis/inveniosoftware/pywebpack.svg
        :target: https://travis-ci.org/inveniosoftware/pywebpack

.. image:: https://img.shields.io/coveralls/inveniosoftware/pywebpack.svg
        :target: https://coveralls.io/r/inveniosoftware/pywebpack

.. image:: https://img.shields.io/github/tag/inveniosoftware/pywebpack.svg
        :target: https://github.com/inveniosoftware/pywebpack/releases

.. image:: https://img.shields.io/pypi/dm/pywebpack.svg
        :target: https://pypi.python.org/pypi/pywebpack

.. image:: https://img.shields.io/github/license/inveniosoftware/pywebpack.svg
        :target: https://github.com/inveniosoftware/pywebpack/blob/master/LICENSE

Webpack integration layer for Python.

**Using Flask?** Check out
`Flask-WebpackExt <https://flask-webpackext.readthedocs.io>`_.

PyWebpack makes it easy to interface with your existing Webpack project and
does not try to manage Webpack for you. PyWebpack does this via:

* **Manifests**: You tell Webpack to write a ``manifest.json`` using plugins
  such as `webpack-manifest-plugin
  <https://www.npmjs.com/package/webpack-manifest-plugin>`_,
  `webpack-yam-plugin
  <https://www.npmjs.com/package/webpack-yam-plugin>`_ or
  `webpack-bundle-tracker
  <https://www.npmjs.com/package/webpack-bundle-tracker>`_. PyWebpack
  reads the manifest and makes your compiled assets available to your template
  engine such as Jinja.
* **API for NPM**: PyWebpack provides an API so that e.g. ``project.install()``
  will run ``npm install`` in your Webpack project.

Optionally you can use PyWebpack to also:

* **Inject configuration:** PyWebpack will write a ``config.json`` into
  your webpack project, which you can import in your webpack configuration. You
  can define what goes in the config e.g. let webpack know about output paths or
  dynamic entry points.
* **Collect bundles:** If your Webpack project is spread over multiple Python
  packages, PyWebpack can help you dynamically assemble the files into a
  Webpack project. This is useful if you don't know until build time which
  packages are installed.

Further documentation is available on
https://pywebpack.readthedocs.io/


Changes
=======

Version 1.0.1 (released 2020-02-14)

- Adds support for having bundles that are callables in
  bundles_from_entry_point.

Version 1.0.0 (released 2018-10-29)

- Adds documentation and extra tests.

Version 0.1.2 (released 2017-11-06)

- Fix invalid closing of </link> tag.

Version 0.1.1 (released 2017-05-29)

- Fix problem with package.json not being updated.
- Fix merging of package.json dependencies.
- Increase test coverage.

Version 0.1.0 (released 2017-05-16)

- Initial public release.


