diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e139797..f023470 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,7 +44,7 @@ jobs: conda activate test conda install --file requirements/run.txt conda install --file requirements/test.txt - pip install . + pip install . --no-deps - name: Validate diffpy.srmise shell: bash -l {0} diff --git a/pyproject.toml b/pyproject.toml index 3c8f23b..53dcf0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "diffpy.srmise" -dynamic=['version'] +dynamic=['version', 'dependencies'] authors = [ { name="Simon J.L. Billinge group", email="simon.billinge@gmail.com" }, {name="Luke Granlund", email="granlund@pa.msu.edu"}, @@ -51,6 +51,9 @@ include = ["*"] # package names should match these glob patterns (["*"] by defa exclude = ["diffpy.srmise.tests*"] # exclude packages matching these glob patterns (empty by default) namespaces = false # to disable scanning PEP 420 namespaces (true by default) +[tool.setuptools.dynamic] +dependencies = {file = ["requirements/run.txt"]} + [tool.black] line-length = 115 include = '\.pyi?$'