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
Close
Hashes for pycparser_fake_libc-2.19-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97db28dcbe0d8cade9c5e39bc4f5e27e68ce0aba2accaf792760922746d2baf8 |
|
MD5 | 7168488f5ab59966c133b917bfafd32c |
|
BLAKE2b-256 | b3f986200b22fa1675521372991a01efa86a005e7607d39e4dbc2ea93383f82f |