Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wimglenn/flit6
cross-compat flit install
https://github.com/wimglenn/flit6
Last synced: 10 days ago
JSON representation
cross-compat flit install
- Host: GitHub
- URL: https://github.com/wimglenn/flit6
- Owner: wimglenn
- Created: 2018-12-27T04:25:27.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-27T16:33:09.000Z (about 6 years ago)
- Last Synced: 2024-12-18T17:15:23.227Z (21 days ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
flit6
=====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 project, and then installs the generated distribution into the Python 2
environment. That requires flit_ to exist in the ``python3`` runtime, for build. An
example of how to set it up the yaml for travis-ci can be seen here_.dev
---Clone the repo and then:
.. code-block:: bash
$ pip install pytest pytest-mock
$ pytestTo generate a release, use ``python setup.py bdist_wheel --universal``. Upload with twine_.
.. _flit: https://flit.readthedocs.io/en/latest/
.. _packaging: https://flit.readthedocs.io/en/latest/pyproject_toml.html
.. _twine: https://twine.readthedocs.io/en/latest/
.. _here: https://github.com/wimglenn/pytest-raisin/blob/432b55c838a10b2c885b3f33efdaee39df18504c/.travis.yml#L22-L24