Skip to content

Pip-installable package which contains the fake libc headers from pycparser

Notifications You must be signed in to change notification settings

ThomasGerstenberg/pycparser-fake-libc

Repository files navigation

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)

About

Pip-installable package which contains the fake libc headers from pycparser

Resources

Stars

Watchers

Forks

Packages

No packages published