[e988c2]: / pyproject.minimal.toml

Download this file

16 lines (13 with data), 600 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# This contains just the minimal configuration needed to be able to install the
# script entrypoints. We use this in the Dockerfile to be able to set up a
# virtualenv with all the right scripts pointing to the right entrypoints
# without creating a dependency on the whole project state so we avoid having
# to rebuild the virtualenv every time any file changes.
#
# A test at `tests/unit/test_pyproject_minimal.py` makes sure that this file
# doesn't get out of sync with the original.
[project]
name = "opensafely-ehrql"
version = "2+local"
[project.scripts]
ehrql = "ehrql.__main__:entrypoint"