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
File details
Details for the file pycparser-fake-libc-2.20.tar.gz
.
File metadata
- Download URL: pycparser-fake-libc-2.20.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 872652fc8c09632c9c83b35d44ee2c83b36bd5d0d215335a3e98c8c090a36f8c |
|
MD5 | 0ac238196b8bfa723f5f0914cb242124 |
|
BLAKE2b-256 | 101b33f901a650dabf5bfcf77d8e3c7ea1b6f1240c3ecd371d35fc92e47daed8 |
File details
Details for the file pycparser_fake_libc-2.20-py2.py3-none-any.whl
.
File metadata
- Download URL: pycparser_fake_libc-2.20-py2.py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f904c49a1ee88436202bf017c5750dac847d3b54271ac5e10e6c5ddd65f35e7 |
|
MD5 | 39a2a2326409d74b858203c1543450d4 |
|
BLAKE2b-256 | e07a324c99424287fcaf59b7cde2803d59e2381c89b7b0b99d33b9f792e8b324 |