Skip to content

Commit 144cbf7

Browse files
authored
Merge pull request #7 from DiamondLightSource/adopt-uv
add stdio-socket
2 parents 15097f6 + d489ba6 commit 144cbf7

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ FROM developer AS build
1515
WORKDIR /app
1616
COPY . /app
1717
RUN chmod o+wrX .
18+
ENV PATH=/app/.venv/bin:$PATH
1819

1920
# Tell uv sync to install python in a known location so we can copy it out later
2021
ENV UV_PYTHON_INSTALL_DIR=/python
@@ -56,7 +57,6 @@ COPY --from=build /python /python
5657

5758
# Copy the environment, but not the source code
5859
COPY --from=build /app/.venv /app/.venv
59-
ENV PATH=/app/.venv/bin:$PATH
6060

6161
# change this entrypoint if it is not the same as the repo
6262
ENTRYPOINT ["fastcs-example"]

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
requires = ["setuptools>=64", "setuptools_scm[toml]>=8"]
33
build-backend = "setuptools.build_meta"
44

5+
# test change
6+
57
[project]
68
name = "fastcs-example"
79
classifiers = [
@@ -14,6 +16,7 @@ classifiers = [
1416
description = "An example simulation IOC for testing fastCS"
1517
dependencies = [
1618
"fastcs",
19+
"stdio-socket",
1720
] # Add project dependencies here, e.g. ["click", "numpy"]
1821
dynamic = ["version"]
1922
license.file = "LICENSE"
@@ -110,7 +113,7 @@ commands = [
110113
description = "Run tests with coverage"
111114
commands = [
112115
[
113-
"pytest",
116+
"pytest",
114117
"--cov=fastcs_example",
115118
"--cov-report",
116119
"term",

uv.lock

Lines changed: 17 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)