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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

flit6-0.1-py2.py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page