cppimport 22.08.02-2 source package in Ubuntu
Changelog
cppimport (22.08.02-2) unstable; urgency=medium [ Joshua Peisach ] * Ignore generated _version.py file (Closes: #1022347) python3-setuptools-scm generated file, dpkg-source panics [ Nilesh Patra ] * Bump Standards-Version to 4.6.1 (no changes needed) * d/t/unittests3: Use py3versions -s for supported versions -- Joshua Peisach <email address hidden> Wed, 09 Nov 2022 15:44:15 -0500
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Noble | release | universe | misc | |
Mantic | release | universe | misc | |
Lunar | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
cppimport_22.08.02-2.dsc | 1.6 KiB | 0fbe0d94c4b87b445e1d61fd6925c20312e2523ff50eda9266fef97d2773840c |
cppimport_22.08.02.orig.tar.gz | 19.0 KiB | c267cd7d8583631858e1fcf493018385725fa7c2c1d87113e5a49a9e70cb0269 |
cppimport_22.08.02-2.debian.tar.xz | 3.7 KiB | d950f6392cb5583dc6d920f92e690e2ab4e4004c97901376278952cb1b94de9b |
Available diffs
- diff from 22.05.11-1 to 22.08.02-2 (7.2 KiB)
- diff from 22.08.02-1 to 22.08.02-2 (763 bytes)
No changes file available.
Binary packages built by this source
- python3-cppimport: cppimport - Import C++ directly from Python! (Python 3)
Sometimes Python just isn't fast enough. Or you have existing code in
a C++ library. cppimport combines the process of compiling and
importing an extension in Python so that you can type modulename =
cppimport.imp("modulename ") and not have to worry about multiple
steps.
.
cppimport looks for a C or C++ source file that matches the requested
module. If such a file exists, the file is first run through the Mako
templating system. The compilation options produced by the Mako pass
are then used to compile the file as a Python extension. The extension
(shared library) that is produced is placed in the same folder as the
C++ source file. Then, the extension is loaded.
.
Most cppimport users combine it with pybind11, but you can use a range
of methods to create your Python extensions. Raw C extensions,
Boost.Python, SWIG all work.