File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ WORKDIR /app
2323COPY requirements.txt .
2424RUN pip install --no-cache-dir -r requirements.txt
2525
26- # Install python core package
26+ # Copy source code and package configuration
2727COPY pyproject.toml .
28+ COPY src/ ./src/
29+
30+ # Install python core package with setuptools-scm version override
2831RUN pip install .
2932
3033# Install gunicorn for production WSGI server
3134RUN pip install gunicorn
32-
33- # Copy backend source code
34- COPY src/ ./src/
3535# COPY *.py ./
3636
3737# Copy built frontend from previous stage
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " fuel-cycle-sim"
7- version = " 0.1.0 "
7+ dynamic = [ " version " ]
88description = " A Python package for fuel cycle simulation with pathsim integration"
99readme = " README.md"
1010license = {file = " LICENSE" }
@@ -46,8 +46,8 @@ Issues = "https://github.com/yourusername/fuel-cycle-sim/issues"
4646packages = [" fuel_cycle_sim" ]
4747package-dir = {"fuel_cycle_sim" = " src/python" }
4848
49- [tool .setuptools_scm ]
50- write_to = " src/python/_version.py"
51-
5249[tool .setuptools .package-data ]
5350fuel_cycle_sim = [" templates/*" ]
51+
52+ [tool .setuptools_scm ]
53+ write_to = " src/python/_version.py"
You can’t perform that action at this time.
0 commit comments