Skip to content

Commit

Permalink
Move build requirements to pyproject.toml
Browse files Browse the repository at this point in the history
This enables building wheels using the latest setuptools and
related tooling, while still distributing the man pages.
  • Loading branch information
PeterJCLaw committed Jan 14, 2023
1 parent f076f20 commit 502d944
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ references:
declare -a FILES=(
"setup.py"
"pyproject.toml"
"all-requirements.txt"
)
for f in ${FILES[@]}
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[build-system]
requires = [
"setuptools >= 40.9.0",
"Sphinx >=2, <7",
"Pygments >=2.0, <3",
]
build-backend = "setuptools.build_meta"
4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 502d944

Please sign in to comment.