diff --git a/.circleci/config.yml b/.circleci/config.yml index 7089f77..746b82f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,7 @@ references: declare -a FILES=( "setup.py" + "pyproject.toml" "all-requirements.txt" ) for f in ${FILES[@]} diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..a0e1ff3 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,7 @@ +[build-system] +requires = [ + "setuptools >= 40.9.0", + "Sphinx >=2, <7", + "Pygments >=2.0, <3", +] +build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 581a86c..39b1188 100755 --- a/setup.py +++ b/setup.py @@ -52,10 +52,6 @@ def run(self): 'tabulate >=0.7, <1', 'xlwt-future >=0.8, <1', ], - setup_requires=[ - 'Sphinx >=2, <7', - 'Pygments >=2.0, <3', - ], extras_require={ 'cam-serial, mcv4b-part-code': ['pyudev'], 'price-graph': ['matplotlib'],