sip-module1
Generate a sip extension module
Usage
sip-module [options]
name
name is
the
fully
qualified
name
of
the
sip
module
(i.e.
including
the
package
name).
Overview
sip-module builds one of more of the elements of the sip module for a set of package projects.
Options
-
-h, --help -
Display a help message.
-
-V, --version -
Display the SIP version number.
-
--abi-version MAJOR[.MINOR] -
The major version number of the ABI implemented by the
sipmodule is MAJOR. If a minor version number is also specified it is interpreted as a minimum minor version rather than the exact minor version to be used. By default the very latest version is used.
-
--project NAME -
The name of the project as it would appear on PyPI is NAME. By default the name is derived from the fully qualified name of the
sipmodule.
-
--sdist -
Create an sdist which can then be installed by
pipor uploaded to PyPI.pipcan also be used to create a wheel from the sdist. However, for Linux wheels,auditwheelmust be run for the wheel before it can be uploaded to PyPI.
-
--setup-cfg FILE -
FILE is copied to the sdist as
setup.cfginstead of the default version. This allows the sdist to be customised. A number of macros may be specified in thesetup.cfgfile:@SIP_MODULE_FQ_NAME@is replaced by the fully qualified name of thesipmodule.@SIP_MODULE_PACKAGE_NAME@is replaced by the module's project top-level package name.@SIP_MODULE_PROJECT_NAME@is replaced by the module's project name as it would appear on PyPI.@SIP_MODULE_VERSION@is replaced by the version number of the module.
-
--sip-h -
Create a
sip.hheader file that defines the C ABI implemented by thesipmodule.
-
--sip-rst -
Create a
sip.rstfile that documents the Python API implemented by thesipmodule.
-
--target-dir DIR -
Each of the module's elements will be created in DIR.
History
- Debian 13 (Trixie) to Debian 12 (Bookworm): the text shown here
- Debian 11 (Bullseye)