From 3fea48bfeb268a9a4792f482fdb9384f5ed610ba Mon Sep 17 00:00:00 2001 From: Ken Lauer Date: Fri, 1 Oct 2021 10:14:56 -0700 Subject: [PATCH 1/2] BLD: use pyproject.toml to add build requirements --- MANIFEST.in | 3 ++- pyproject.toml | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 pyproject.toml diff --git a/MANIFEST.in b/MANIFEST.in index 3160e2f9..c5932f8f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,10 +1,11 @@ include LICENSE.md include README.rst include dev-requirements.txt +include pyproject.toml include requirements.txt include versioneer.py -recursive-include whatrecord/_whatrecord *.pyx +recursive-include src/_whatrecord *.pyx recursive-include whatrecord/grammar *.lark recursive-include whatrecord/tests *.db *.cmd *.dbd *.proto *.pvlist *.acf t1-*.txt recursive-include whatrecord/tests *.substitutions *.substitutions.expanded diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..6969b2ab --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,8 @@ +[build-system] +requires = [ + "cython", + "epicscorelibs", + "setuptools", + "setuptools_dso", + "wheel", +] From d5bd883384fcfb512a318aa2ec18736d2e22db5a Mon Sep 17 00:00:00 2001 From: Ken Lauer Date: Fri, 1 Oct 2021 10:23:15 -0700 Subject: [PATCH 2/2] TST: use pyproject.toml for build requirements --- .travis.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a0fbf548..b6b8a83e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,6 @@ env: - CONDA_REQUIREMENTS="dev-requirements.txt" - CONDA_EXTRAS="" - CONDA_ENV_NAME="testenv" - - BUILD_REQUIREMENTS="epicscorelibs cython" addons: apt: @@ -45,8 +44,6 @@ jobs: python: 3.8 install: - python -m pip install --upgrade pip - # Build requirements, for now: - - python -m pip install ${BUILD_REQUIREMENTS} - python -m pip install . - python -m pip install --requirement dev-requirements.txt script: