Metadata-Version: 2.4
Name: c2pip
Version: 0.1.0
Summary: Buildozer-grade automation tool for compiling and publishing native C extensions directly to PyPI.
Author: Dan Studios
License: MIT
Project-URL: Homepage, https://github.com/github/c2pip
Project-URL: Repository, https://github.com/github/c2pip.git
Keywords: c-extensions,ffi,buildozer,pypi,packaging,native
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: C
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: setuptools>=68.0.0
Requires-Dist: wheel>=0.40.0
Requires-Dist: build>=1.0.0
Requires-Dist: twine>=4.0.0
Dynamic: requires-python

# c2pip

`c2pip` is **Buildozer for C -> pip**. It takes any C header or source file, automatically generates the CPython wrapper boilerplate (`PyArg_ParseTuple`, `PyMethodDef`), sets up a robust `pyproject.toml` with zero PyPI validation headaches, compiles native wheels, and uploads them straight to PyPI.

---

## The 3-Step Flow

```bash
c2pip init _math.h --name dan-pyda --author "Sampath"
c2pip build
c2pip publish
```
# Features
Automated C Parsing & Wrapper Generation: Scans C headers/functions and constructs _wrapper.c natively.
PyPI Proofing: Enforces strict metadata formatting (license = {text="MIT"}, proper classifiers, URLs, and a mandatory README.md) so you never fight a PyPI validation error again.
Buildozer Simplicity: One tool to initialize, compile binary wheels, and publish.
