cross-compat flit install
Cross-compat flit install. Flit doesn’t support Python 2 at all, but authors of cross-compat libs might still want to use flit’s packaging for the simplicity. After pip install flit6 you can use flit install on Python 2 in your CI, with flit whatever else working as usual on Python 3.
I did not port any of flit itself. This project merely subprocesses a Python 3 build of your distribution, and then installs the generated release in the Python 2 environment. That requires flit to exist in the python3 runtime, for build.
Clone the repo and then:
$ pip install pytest pytest-mock $ pytest
To generate a release, use python setup.py bdist_wheel --universal. Upload with twine.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size flit6-0.1-py2.py3-none-any.whl (2.9 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|