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/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:
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.20-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f904c49a1ee88436202bf017c5750dac847d3b54271ac5e10e6c5ddd65f35e7 |
|
MD5 | 39a2a2326409d74b858203c1543450d4 |
|
BLAKE2b-256 | e07a324c99424287fcaf59b7cde2803d59e2381c89b7b0b99d33b9f792e8b324 |