# HG changeset patch # User paugier <pierre.augier@ens-lyon.org> # Date 1538754771 -7200 # Fri Oct 05 17:52:51 2018 +0200 # Node ID 72127617196800a567855fb63f52128e2fc100a9 # Parent 35296c4234863fd3af170e4d3700116ce8102b6d pyproject.toml diff --git a/.travis.yml b/.travis.yml --- a/.travis.yml +++ b/.travis.yml @@ -46,7 +46,7 @@ install: - pip install -U pip setuptools wheel six colorlog - pip install -U tox-pipenv coverage fluiddevops - - pip install -U numpy cython mako mpi4py fluidpythran # To be removed when pip==10 is out and this step can be bootstrapped + - pip install -U numpy cython mako mpi4py # To be removed when pip==10 is out and this step can be bootstrapped before_script: - | diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -14,7 +14,7 @@ caches: - pip script: - - pip install -U tox fluidpythran --user + - pip install -U tox --user - tox -e py36,codecov dev: - parallel: @@ -23,5 +23,5 @@ caches: - pip script: - - pip install -U tox fluidpythran --user + - pip install -U tox --user - tox -e py36,codecov diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,2 @@ +[build-system] +requires = ["setuptools", "wheel", "numpy", "fluidpythran"] \ No newline at end of file diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -30,6 +30,7 @@ except ImportError: use_pythran = False + import numpy as np f"In >=2018, you should use a Python supporting f-strings!" @@ -126,7 +127,7 @@ ] if FFTW3: - install_requires += ["pyfftw >= 0.10.4", "fluidfft >= 0.2.4"] + install_requires += ["pyfftw >= 0.10.4", "fluidfft >= 0.2.6"] def modification_date(filename):