Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Install python core package
# Copy source code and package configuration
COPY pyproject.toml .
COPY src/ ./src/

# Install python core package with setuptools-scm version override
RUN pip install .

# Install gunicorn for production WSGI server
RUN pip install gunicorn

# Copy backend source code
COPY src/ ./src/
# COPY *.py ./

# Copy built frontend from previous stage
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "fuel-cycle-sim"
version = "0.1.0"
dynamic = ["version"]
description = "A Python package for fuel cycle simulation with pathsim integration"
readme = "README.md"
license = {file = "LICENSE"}
Expand Down Expand Up @@ -46,8 +46,8 @@ Issues = "https://github.com/yourusername/fuel-cycle-sim/issues"
packages = ["fuel_cycle_sim"]
package-dir = {"fuel_cycle_sim" = "src/python"}

[tool.setuptools_scm]
write_to = "src/python/_version.py"

[tool.setuptools.package-data]
fuel_cycle_sim = ["templates/*"]

[tool.setuptools_scm]
write_to = "src/python/_version.py"
Loading