From 68d3ba88a798d240fc746a583af00381c004c97c Mon Sep 17 00:00:00 2001 From: Sangjoon Bob Lee Date: Thu, 3 Oct 2024 13:42:47 -0400 Subject: [PATCH] use pip.txt for pypi packages --- news/pip.rst | 23 +++++++++++++++++++++++ news/recut.rst | 2 +- news/tests-dir.rst | 6 +++--- pyproject.toml | 2 +- requirements/{run.txt => conda.txt} | 0 requirements/pip.txt | 2 ++ 6 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 news/pip.rst rename requirements/{run.txt => conda.txt} (100%) diff --git a/news/pip.rst b/news/pip.rst new file mode 100644 index 00000000..01c61661 --- /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/news/recut.rst b/news/recut.rst index e006ae7b..919a742e 100644 --- a/news/recut.rst +++ b/news/recut.rst @@ -16,7 +16,7 @@ **Fixed:** -* Re-cookiecutter to group's package standard +* re-cookiecutter to group's package standard **Security:** diff --git a/news/tests-dir.rst b/news/tests-dir.rst index 2d0e6711..91531047 100644 --- a/news/tests-dir.rst +++ b/news/tests-dir.rst @@ -16,9 +16,9 @@ **Fixed:** -* Moved the tests directory from src to the root using conftest.py. -* Fixed a circular import bug during " pip install ." in GitHub CI. -* Renamed .py files under tests to snake_case. +* moved the tests directory from src to the root using conftest.py. +* fixed a circular import bug during " pip install ." in GitHub CI. +* renamed .py files under tests to snake_case. **Security:** diff --git a/pyproject.toml b/pyproject.toml index 56742459..a25ee157 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ exclude = [] # 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"]} +dependencies = {file = ["requirements/pip.txt"]} [tool.black] line-length = 115 diff --git a/requirements/run.txt b/requirements/conda.txt similarity index 100% rename from requirements/run.txt rename to requirements/conda.txt diff --git a/requirements/pip.txt b/requirements/pip.txt index e69de29b..33133cd6 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -0,0 +1,2 @@ +diffpy.structure +six