Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nightlark/swig-pypi
pip install swig. SWIG Python wheel for PyPI.
https://github.com/nightlark/swig-pypi
cmake hacktoberfest pip pypi pypi-package python swig
Last synced: 1 day ago
JSON representation
pip install swig. SWIG Python wheel for PyPI.
- Host: GitHub
- URL: https://github.com/nightlark/swig-pypi
- Owner: nightlark
- License: apache-2.0
- Created: 2020-06-06T22:38:49.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-24T03:22:23.000Z (about 1 month ago)
- Last Synced: 2024-12-17T07:13:25.259Z (8 days ago)
- Topics: cmake, hacktoberfest, pip, pypi, pypi-package, python, swig
- Language: CMake
- Homepage:
- Size: 191 KB
- Stars: 16
- Watchers: 5
- Forks: 5
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SWIG Python Distributions
=========================[![PyPI](https://img.shields.io/pypi/v/swig.svg)](https://pypi.org/project/swig)
A project that packages SWIG as a Python package, enabling `swig` to be installed from PyPI:
```sh
pip install swig
```or used as part of `build-system.requires` in a pyproject.toml file:
```toml
[build-system]
requires = ["swig"]
```PyPI package versions will follow the `major.minor.patch` version numbers of SWIG releases.
Binary wheels for Windows, macOS, and Linux for most CPU architectures supported on PyPI are provided. ARM wheels for Raspberry Pi available at https://www.piwheels.org/project/swig/.
[SWIG PyPI Package Homepage](https://github.com/nightlark/swig-pypi)
[SWIG Homepage](http://www.swig.org/)
[SWIG Source Code](https://github.com/swig/swig/)
[SWIG License](https://github.com/swig/swig/blob/master/LICENSE): GPL-3.0-or-later with portions under [LICENSE-UNIVERSITIES](https://github.com/nightlark/swig-pypi/blob/main/LICENSE-UNIVERSITIES) (see [LICENSE-SWIG](https://github.com/nightlark/swig-pypi/blob/main/LICENSE-SWIG) for details)
Installing SWIG
===============SWIG can be installed by pip with:
```sh
pip install swig
```or:
```sh
python -m pip install swig
```Building from the source dist package requires internet access in order to download a copy of the SWIG source code.
Using with pipx
===============Using `pipx run swig ` will run SWIG without any install step, as long as the machine has pipx installed (which includes GitHub Actions runners).
Using with pyproject.toml
=========================SWIG can be added to the `build-system.requires` key in a pyproject.toml file for building Python extensions that use SWIG to generate bindings.
```toml
[build-system]
requires = ["swig"]
```License
=======The code for this project is covered by the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0). Source distributions do not include a copy of the SWIG source code or binaries. Binary wheels are covered by the SWIG license (GPLv3), due to their inclusion of a compiled SWIG binary and library files.
SWIG is distributed under the [GNU General Public License v3 or later](https://github.com/swig/swig/blob/master/LICENSE) with portions under the file [LICENSE-UNIVERSITIES](https://github.com/swig/swig/blob/master/LICENSE-UNIVERSITIES). For more information about SWIG, visit [http://www.swig.org](http://www.swig.org/)