From 5db8b7a703fe80c201755d70819c8fed1f94e9dc Mon Sep 17 00:00:00 2001 From: Sangjoon Bob Lee Date: Thu, 3 Oct 2024 14:31:41 -0400 Subject: [PATCH] Use pip packages under pip.txt --- news/pip.rst | 23 +++++++++++++++++++++++ pyproject.toml | 2 +- requirements/conda.txt | 4 ++++ requirements/pip.txt | 4 ++++ requirements/run.txt | 5 ----- 5 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 news/pip.rst create mode 100644 requirements/conda.txt delete mode 100644 requirements/run.txt diff --git a/news/pip.rst b/news/pip.rst new file mode 100644 index 0000000..01c6166 --- /dev/null +++ b/news/pip.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* add PyPI packages under pip.txt + +**Security:** + +* diff --git a/pyproject.toml b/pyproject.toml index f317f48..3508439 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ exclude = ["diffpy.labpdfproc.tests*"] # exclude packages matching these glob p namespaces = false # to disable scanning PEP 420 namespaces (true by default) [tool.setuptools.dynamic] -dependencies = {file = ["requirements/run.txt"]} +dependencies = {file = ["requirements/pip.txt"]} [tool.black] line-length = 115 diff --git a/requirements/conda.txt b/requirements/conda.txt new file mode 100644 index 0000000..e8b92dd --- /dev/null +++ b/requirements/conda.txt @@ -0,0 +1,4 @@ +numpy +diffpy.utils +pandas +scipy diff --git a/requirements/pip.txt b/requirements/pip.txt index e69de29..e8b92dd 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -0,0 +1,4 @@ +numpy +diffpy.utils +pandas +scipy diff --git a/requirements/run.txt b/requirements/run.txt deleted file mode 100644 index 140720c..0000000 --- a/requirements/run.txt +++ /dev/null @@ -1,5 +0,0 @@ -# List required packages in this file, one per line. -numpy -diffpy.utils -pandas -scipy