This is an easy-to-install python package for facebook's folly library.
Warning
When reading through this, make sure to differenciate "folly", which is the facebook's library, and "pyfolly" that is my package here.
Folly contains a python package to interract with the big part of the lib. It has very low maintainance (even tho some activity has been pushed recently), and it is a nightmare to install. Only facebook team seems to be able to install it, and they aren't giving much details about how they do it.
Moreover, simple things such as supporting
It seems it was finally added in this commit.python3.13
by handling _Py_IsFinalizing
moved to Py_IsFinalizing
isn't even added. It is supported here, without any modification of the original code.
Some big work have been done by certain users to make it work again. However, due to recent commits, those changes aren't working and aren't maintained either anymore.
The goal of this repository is to maintain an easy-to-install folly python package based on the main one.
- We git the latest version of folly;
- We copy python files from the folly library and arrange them correctly locally;
- We build/install with a custom
setup.py
; - Optional: We run tests thanks to another custom
setup.py
.
This repository doesn't contain any code from folly, but rather a way to organise and build it. The only code being overwritten can be found in the patches
dir.
pip install git+https://github.com/novitae/pyfolly.git
Not available yet
- Support
python 3.13
- Macros when compiling
- Ninja update in the submodule
- Support other platforms