sip-install(1)
π sip-install(1) β General Commands Manual π
okay so bestie, this is sip-install, a page from the General Commands Manual, and it's literally about building and installing your sip project. no cap. let's get into it β¨
πΈ NAME πΈ
sip-install β build and install the sip project π«Ά
π¦ SYNOPSIS π¦
sip-install [options]
like... that's it. that's the whole vibe. just options, no positional args, she's simple π
β DESCRIPTION β
sip-install builds and installs a project. periodt. π
β¨ OPTIONS β¨
-h,--helpβ shows you a help message. your bestie when you're lost π«Ά-V,--versionβ prints the SIP version number. iconic for bug reports fr fr--deprecations-are-errorsβ if you use any deprecated feature, it gets treated as an error instead of a lil warning. so dramatic. so strict. love that for you π--quietβ turns off all the progress messages. silence. peace. π§--verboseβ turns on the verbose progress messages. she's chatty now, and honestly? we love a yapper π--abi-version M[.N]β the version number of the ABI of the sip module you're targeting isM.N. by default the latest major version is used. if you don't give the minor version, then the latest minor version of that major version gets used. iykyk β¨--api-dir DIRβ a QScintilla.apifile gets created inDIR. π--build-dir DIRβDIRgets created as a build directory, and all the generated files land in there. important: this build directory is not removed once the build is done. by default a temporary build directory is created, and that one gets removed after the build completes. so if you want to snoop on the artifacts, this is your moment π--concatenate Nβ the generated code gets split intoNfiles. by default one file is generated for each C structure or C++ class. setting a low value ofNcan significantly speed up the build of large projects. big brain energy π₯--disable NAMEβ theNAMEbindings are disabled and will not be built. you can pass this option multiple times. heads up though: it's only available if the project contains multiple sets of bindings. π--disabled-feature TAGβ theTAGfeature tag is disabled. you can pass this one multiple times too. π--enable NAMEβ theNAMEbindings are enabled and will be built. any associated configuration tests that would normally run to decide whether the bindings should be built are suppressed. also specifiable multiple times. also only available if the project contains multiple sets of bindings. π--debugβ performs a build with debugging symbols. for when you need to see everything π¦--no-docstringsβ disables the generation of docstrings that describe the signature of all functions, methods and constructors. rip docs π--no-distinfoβ disables the creation of the.dist-infodirectory. π--pep484-pyiβ enables the generation of Python type hints stub files. these files contain a description of a module's API that's compliant with PEP 484. slay β--protected-is-publicβ okay so, SIP can generate code that gives access to protected C++ functions from Python. on non-Windows platforms, that code can be avoided if theprotectedkeyword is redefined aspublicduring compilation, and that can seriously shrink the size of a generated Python module. this option enables the redefinition ofprotected, and it's the default on all platforms except Windows. π--no-protected-is-publicβ this disables the redefinition ofprotectedto access protected C++ functions from Python. it's the default on Windows. πͺ--scripts-dir DIRβ any project scripts get installed inDIR. ifDIRis relative, it's taken as relative to the target directory. by default, the directory containing the Python interpreter is used. π--target-dir DIRβ the project gets installed inDIR. by default it's thesite-packagesdirectory of the Python installation. π--tracingβ debugging statements that trace the execution of the bindings are automatically generated. by default those statements are not generated. for the girlies who need to watch the whole plot unfold π
ngl bestie, that --build-dir one is the sneaky one β the default temp dir vanishes after the build, so if you wanted to keep your generated files, say so explicitly or they're gone gone π
and that's the whole page, fr fr. this was sip-install(1) from the General Commands Manual β the footer only ever says sip-install(1), so no date or version to drop here, just the page name itself π mwah, go build something cute π
β¨
π¦ where this page comes from
- debian trixie: sip-tools 6.10.0-2 Β· BSD-2-Clause
- ubuntu questing: sip-tools 6.12.0-1
- ubuntu resolute: sip-tools 6.15.1-1 Β· BSD-2-Clause
- ubuntu stonking: sip-tools 6.16.1-2 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms