Pip-installable package with pycparser's fake libc headers
Project description
# pycparser-fake-libc
Simple build wrapper to create a pip-installable package which includes all of the headers from [pycparser](https://github.com/eliben/pycparser)/utils/fake_libc_include.
See: https://github.com/eliben/pycparser
To build, run `make` to copy the headers from the submoduled `pycparser` into the library dir and build the wheel file
Usage:
```python
import os
import pycparser_fake_libc
import pycparser
fake_libc_arg = "-I" + pycparser_fake_libc.directory
ast = pycparser.parse_file("c_file_to_parse.c", use_cpp=True, cpp_args=fake_libc_arg)
```
Simple build wrapper to create a pip-installable package which includes all of the headers from [pycparser](https://github.com/eliben/pycparser)/utils/fake_libc_include.
See: https://github.com/eliben/pycparser
To build, run `make` to copy the headers from the submoduled `pycparser` into the library dir and build the wheel file
Usage:
```python
import os
import pycparser_fake_libc
import pycparser
fake_libc_arg = "-I" + pycparser_fake_libc.directory
ast = pycparser.parse_file("c_file_to_parse.c", use_cpp=True, cpp_args=fake_libc_arg)
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pycparser-fake-libc-2.19.tar.gz
.
File metadata
- Download URL: pycparser-fake-libc-2.19.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 164fb6fd8c85b7275c7889241cd728ccc081945fb7bd8db864eac03dda3a8437 |
|
MD5 | 5cd193b3b65c0bf926bc7f4859f1ed9e |
|
BLAKE2b-256 | d9f5fc4d88498c6fe8aca92f97b5d5c5b81178e9dc416ca05b10dbd30a5b2a5a |
File details
Details for the file pycparser_fake_libc-2.19-py2.py3-none-any.whl
.
File metadata
- Download URL: pycparser_fake_libc-2.19-py2.py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97db28dcbe0d8cade9c5e39bc4f5e27e68ce0aba2accaf792760922746d2baf8 |
|
MD5 | 7168488f5ab59966c133b917bfafd32c |
|
BLAKE2b-256 | b3f986200b22fa1675521372991a01efa86a005e7607d39e4dbc2ea93383f82f |