Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycparser-fake-libc-2.21.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

pycparser_fake_libc-2.21-py2.py3-none-any.whl (28.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page