Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

crxmake packages chrome extensions as .crx from python

Project Description


Python script for building google chrome extension crx package.
It is inspired by rubygems' crxmake.

Ubuntu Installation

sudo apt-get install swig
sudo pip install crxmake


.. code-block:: usage


# From python
>>> from crxmake import package
>>> package('examples/app', outfile='examples/release1')


An example extension named 'app' is provided in the examples/
directory for testing purposes:

.. code-block:: example

$ examples/app
$ ls examples/app
$ app app.crx app.pem


- python 2
- swig
- M2Crypto (available via pip, requires swig)
- "openssl" command: because current M2Crypto lacks func for rsa pubout DER

Legacy Dependencies

Appendix: m2crypto-0.20.2-enable-rsa-pubout.patch

"svn diff" output for appending the feature for rsa pubout DER.

Howto build m2crypto with it:

svn co m2crypto-0.20.2
cd m2crypto-0.20.2
patch -p0 < ../legacy/m2crypto-0.20.2-enable-rsa-pubout.patch
python build

(I hope someone send it to M2Crypto maintainer ^^)


- "M2Crypto":
- "crxmake":
- "Packing Chrome extensions in Python":

Release History

This version
History Node


History Node


Download Files

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
(3.6 kB) Copy SHA256 Hash SHA256
Source None Mar 5, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers