Skip to main content

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

Usage

# CLI
$ crxmake.py PACKAGE_BASE_DIR

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

Example

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

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

Requires

  • 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 http://svn.osafoundation.org/m2crypto/tags/0.20.2 m2crypto-0.20.2 cd m2crypto-0.20.2 patch -p0 < ../legacy/m2crypto-0.20.2-enable-rsa-pubout.patch python setup.py build

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

Resources

Release files for crxmake 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crxmake 0.0.3
File Size Uploaded
crxmake-0.0.3.tar.gz 3.6 kB Details

Release files / crxmake-0.0.3.tar.gz

Download URL crxmake-0.0.3.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
90d9a970a72fe6062012a22caf87b918ea5c4f0be7a0dcf5c429fc70625c2ef2
BLAKE2b-256 checksum
How to use checksums
4f643298f4dc4d677f5adcbfe3d225aab1d8972fec4fab82b3052c9e679a5a1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page