python-version: ${{ matrix.python }}
cache: 'pip'
cache-dependency-path: 'requirements/*.txt'
- - name: update pip
- run: |
- pip install -U wheel
- pip install -U setuptools
- python -m pip install -U pip
- name: cache mypy
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
> env\Scripts\activate
-- Upgrade pip and setuptools.
-
- .. code-block:: text
-
- $ python -m pip install --upgrade pip setuptools
-
- Install the development dependencies, then install Jinja in editable
mode.
name = "Jinja2"
description = "A very fast and expressive template engine."
readme = "README.rst"
-license = {text = "BSD-3-Clause"}
+license = {file = "LICENSE.rst"}
maintainers = [{name = "Pallets", email = "contact@palletsprojects.com"}]
classifiers = [
"Development Status :: 5 - Production/Stable",
[project.entry-points."babel.extractors"]
[build-system]
-requires = ["setuptools"]
-build-backend = "setuptools.build_meta"
+requires = ["flit_core<4"]
+build-backend = "flit_core.buildapi"
-[tool.setuptools.dynamic]
-version = {attr = "jinja2.__version__"}
+[tool.flit.module]
+name = "jinja2"
+
+[tool.flit.sdist]
+include = [
+ "docs/",
+ "examples/",
+ "requirements/",
+ "tests/",
+ "CHANGES.rst",
+ "tox.ini",
+]
+exclude = [
+ "docs/_build/",
+]
[tool.pytest.ini_options]
testpaths = ["tests"]