Commit fc02bb82 authored by yuedong0607's avatar yuedong0607
Browse files

Merge remote-tracking branch 'origin/release_v3.0' into develop

parents af27492d 9aa65324
Loading
Loading
Loading
Loading
Loading
+0 −84
Original line number Diff line number Diff line
[build-system]
requires = [
  "setuptools<82",
  "wheel",
  "Cython==3.0.6",
  "numpy==1.26.4"
]
build-backend = "setuptools.build_meta"

[project]
name = "csst-msc-sim"
version = "3.4.1"
description = "CSST Main Survey image simulator"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [
  { name = "CSST simulation team" }
]
dynamic = ["dependencies"]

# dependencies = [
#  "numpy==1.26.4",
#  "scipy>=1.10",
#  "astropy>=5",
#  "PyYAML>=6",
#  "galsim>=2.5",
#  "sep>=1.2",
#  "healpy>=1.16",
#  "h5py>=3.11",
#  "Cython==3.0.6",
#  "numba>=0.59.1",
#  "psutil>=5.9",
#  "lmfit>=1.2",
#  "mpi4py>=4.1",
#  "toml>=0.10",
#  "matplotlib"
#]

[project.urls]
Homepage = "https://csst-tb.bao.ac.cn/code/csst-sims/csst_msc_sim"

[project.optional-dependencies]
dev = [
  "pytest",
  "pytest-cov",
  "build",
  "twine",
  "ruff",
  "black",
  "mypy"
]
docs = [
  "sphinx",
  "furo"
]

[project.scripts]
csst-run-sim = "observation_sim.cli:main"

[tool.setuptools]
include-package-data = true

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}

[tool.setuptools.packages.find]
include = ["observation_sim*", "catalog*"]

[tool.pytest.ini_options]
testpaths = ["tests"]

[tool.ruff]
preview = true
line-length = 88
target-version = "py311"

[tool.ruff.lint]
select = ["E", "F", "W"]  # E/W = PEP8, F = pyflakes
ignore = ["E501", "E203"]        # example: ignore line length if using black

[tool.ruff.format]
quote-style = "double"
indent-style = "space"
 No newline at end of file