Skip to main content

cross-compat flit install

Project description

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 bdist_wheel --universal. Upload with twine.

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flit6, version 0.1
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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page