https://github.com/mozillazg/cffi
The unofficial GitHub mirror of https://foss.heptapod.net/pypy/cffi
https://github.com/mozillazg/cffi
github-mirror read-only-repository unofficial unofficial-mirror
Last synced: 10 months ago
JSON representation
The unofficial GitHub mirror of https://foss.heptapod.net/pypy/cffi
- Host: GitHub
- URL: https://github.com/mozillazg/cffi
- Owner: mozillazg
- License: other
- Created: 2023-01-01T13:03:22.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T00:23:42.000Z (over 2 years ago)
- Last Synced: 2025-01-05T18:57:45.518Z (over 1 year ago)
- Topics: github-mirror, read-only-repository, unofficial, unofficial-mirror
- Language: Python
- Homepage: https://foss.heptapod.net/pypy/cffi
- Size: 56 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# ARCHIVED as of 25 Sep 2023
This project has moved to https://github.com/python-cffi/cffi/
CFFI
====
Foreign Function Interface for Python calling C code.
Please see the [Documentation](http://cffi.readthedocs.org/) or uncompiled
in the doc/ subdirectory.
Download
--------
[Download page](https://foss.heptapod.net/pypy/cffi/-/tags)
Source Code
-----------
CFFI is developed using [Mercurial SCM](mercurial-scm.org/).
The source code is publicly available on
[heaptapod](https://foss.heptapod.net/pypy/cffi).
You can read more about how to contribute to the project on
[PyPy's documentation](https://doc.pypy.org/en/latest/contributing.html).
Contact
-------
[Mailing list](https://groups.google.com/forum/#!forum/python-cffi)
Testing/development tips
------------------------
To run tests under CPython, run::
pip install pytest # if you don't have pytest already
pip install pycparser
python setup.py build_ext -f -i
pytest c/ testing/
If you run in another directory (either the tests or another program),
you should use the environment variable ``PYTHONPATH=/path`` to point
to the location that contains the ``_cffi_backend.so`` just compiled.