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