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: 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", +]