Skip to content
Snippets Groups Projects
Commit 0285ae3d authored by Rob Moss's avatar Rob Moss
Browse files

Replace setup.py with pyproject.toml

parent 8bb641b2
Branches
Tags
No related merge requests found
Pipeline #17384 passed
...@@ -20,7 +20,7 @@ tox-36: ...@@ -20,7 +20,7 @@ tox-36:
- tox - tox
artifacts: artifacts:
paths: paths:
- .tox/dist/pypfilt-*.zip - .tox/dist/pypfilt-*
# Run all of the test activities in tox.ini using Python 3.7. # Run all of the test activities in tox.ini using Python 3.7.
tox-37: tox-37:
......
...@@ -8,7 +8,7 @@ python: ...@@ -8,7 +8,7 @@ python:
install: install:
- requirements: requirements.txt - requirements: requirements.txt
- requirements: requirements-rtd.txt - requirements: requirements-rtd.txt
- method: setuptools - method: pip
path: . path: .
sphinx: sphinx:
......
# NOTE: setuptools 40.9.0 added support for projects without setup.py.
[build-system]
requires = [
"setuptools >= 40.9",
"wheel",
]
build-backend = "setuptools.build_meta"
...@@ -33,8 +33,6 @@ install_requires = ...@@ -33,8 +33,6 @@ install_requires =
numpy >= 1.17 numpy >= 1.17
scipy >= 0.11 scipy >= 0.11
toml >= 0.10 toml >= 0.10
setup_requires =
setuptools >= 38.3.0
[options.extras_require] [options.extras_require]
plot = matplotlib >= 1.5 plot = matplotlib >= 1.5
......
#!/usr/bin/env python3
from setuptools import setup
if __name__ == "__main__":
setup()
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
# #
[tox] [tox]
envlist = test,docs envlist = test,docs
isolated_build = True
[base] [base]
pkg = pypfilt pkg = pypfilt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment