From a4e4cf13628c8c344c04a549da0480839f31ba49 Mon Sep 17 00:00:00 2001 From: Patrick Avery Date: Fri, 19 Feb 2021 15:01:15 -0600 Subject: [PATCH] Add pyproject.toml This will install the needed dependencies before running setup.py. Signed-off-by: Patrick Avery --- pyproject.toml | 2 +- setup.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f1307772..bcd2d41d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,2 @@ [build-system] -requires = ["setuptools", "wheel", "scikit-build"] +requires = ["setuptools", "wheel", "scikit-build", "setuptools_scm[toml]"] diff --git a/setup.py b/setup.py index 662ba6de..cc69ee40 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,6 @@ def extra_cmake_args(): setup( name='stempy', use_scm_version=True, - setup_requires=['setuptools_scm'], description='A package for the ingestion of 4D STEM data.', long_description='A package for the ingestion of 4D STEM data.', url='https://github.com/OpenChemistry/stempy',