diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml
index 141133e..adce9a5 100755
--- a/.azure-pipelines/azure-pipelines-linux.yml
+++ b/.azure-pipelines/azure-pipelines-linux.yml
@@ -8,20 +8,8 @@ jobs:
vmImage: ubuntu-16.04
strategy:
matrix:
- linux_64_python3.6.____cpython:
- CONFIG: linux_64_python3.6.____cpython
- UPLOAD_PACKAGES: 'True'
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7
- linux_64_python3.7.____cpython:
- CONFIG: linux_64_python3.7.____cpython
- UPLOAD_PACKAGES: 'True'
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7
- linux_64_python3.8.____cpython:
- CONFIG: linux_64_python3.8.____cpython
- UPLOAD_PACKAGES: 'True'
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7
- linux_64_python3.9.____cpython:
- CONFIG: linux_64_python3.9.____cpython
+ linux_64_:
+ CONFIG: linux_64_
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7
timeoutInMinutes: 360
diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml
deleted file mode 100755
index 8aadc55..0000000
--- a/.azure-pipelines/azure-pipelines-osx.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-# This file was generated automatically from conda-smithy. To update this configuration,
-# update the conda-forge.yml and/or the recipe/meta.yaml.
-# -*- mode: yaml -*-
-
-jobs:
-- job: osx
- pool:
- vmImage: macOS-10.15
- strategy:
- matrix:
- osx_64_python3.6.____cpython:
- CONFIG: osx_64_python3.6.____cpython
- UPLOAD_PACKAGES: 'True'
- osx_64_python3.7.____cpython:
- CONFIG: osx_64_python3.7.____cpython
- UPLOAD_PACKAGES: 'True'
- osx_64_python3.8.____cpython:
- CONFIG: osx_64_python3.8.____cpython
- UPLOAD_PACKAGES: 'True'
- osx_64_python3.9.____cpython:
- CONFIG: osx_64_python3.9.____cpython
- UPLOAD_PACKAGES: 'True'
- timeoutInMinutes: 360
-
- steps:
- # TODO: Fast finish on azure pipelines?
- - script: |
- export CI=azure
- export OSX_FORCE_SDK_DOWNLOAD="1"
- export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
- export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
- ./.scripts/run_osx_build.sh
- displayName: Run OSX build
- env:
- BINSTAR_TOKEN: $(BINSTAR_TOKEN)
- FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN)
- STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN)
\ No newline at end of file
diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml
deleted file mode 100755
index 5c854f7..0000000
--- a/.azure-pipelines/azure-pipelines-win.yml
+++ /dev/null
@@ -1,119 +0,0 @@
-# This file was generated automatically from conda-smithy. To update this configuration,
-# update the conda-forge.yml and/or the recipe/meta.yaml.
-# -*- mode: yaml -*-
-
-jobs:
-- job: win
- pool:
- vmImage: vs2017-win2016
- strategy:
- matrix:
- win_64_python3.6.____cpython:
- CONFIG: win_64_python3.6.____cpython
- UPLOAD_PACKAGES: 'True'
- win_64_python3.7.____cpython:
- CONFIG: win_64_python3.7.____cpython
- UPLOAD_PACKAGES: 'True'
- win_64_python3.8.____cpython:
- CONFIG: win_64_python3.8.____cpython
- UPLOAD_PACKAGES: 'True'
- win_64_python3.9.____cpython:
- CONFIG: win_64_python3.9.____cpython
- UPLOAD_PACKAGES: 'True'
- timeoutInMinutes: 360
- variables:
- CONDA_BLD_PATH: D:\\bld\\
-
- steps:
- - script: |
- choco install vcpython27 -fdv -y --debug
- condition: contains(variables['CONFIG'], 'vs2008')
- displayName: Install vcpython27.msi (if needed)
-
- # Cygwin's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.)
- # - script: rmdir C:\cygwin /s /q
- # continueOnError: true
-
- - powershell: |
- Set-PSDebug -Trace 1
-
- $batchcontent = @"
- ECHO ON
- SET vcpython=C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0
-
- DIR "%vcpython%"
-
- CALL "%vcpython%\vcvarsall.bat" %*
- "@
-
- $batchDir = "C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0\VC"
- $batchPath = "$batchDir" + "\vcvarsall.bat"
- New-Item -Path $batchPath -ItemType "file" -Force
-
- Set-Content -Value $batchcontent -Path $batchPath
-
- Get-ChildItem -Path $batchDir
-
- Get-ChildItem -Path ($batchDir + '\..')
-
- condition: contains(variables['CONFIG'], 'vs2008')
- displayName: Patch vs2008 (if needed)
-
- - task: CondaEnvironment@1
- inputs:
- packageSpecs: 'python=3.6 conda-build conda "conda-forge-ci-setup=3" pip' # Optional
- installOptions: "-c conda-forge"
- updateConda: true
- displayName: Install conda-build and activate environment
-
- - script: set PYTHONUNBUFFERED=1
- displayName: Set PYTHONUNBUFFERED
-
- # Configure the VM
- - script: |
- call activate base
- setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml
- displayName: conda-forge CI setup
-
- # Configure the VM.
- - script: |
- set "CI=azure"
- call activate base
- run_conda_forge_build_setup
- displayName: conda-forge build setup
-
-
- # Special cased version setting some more things!
- - script: |
- call activate base
- conda.exe build "recipe" -m .ci_support\%CONFIG%.yaml
- displayName: Build recipe (vs2008)
- env:
- VS90COMNTOOLS: "C:\\Program Files (x86)\\Common Files\\Microsoft\\Visual C++ for Python\\9.0\\VC\\bin"
- PYTHONUNBUFFERED: 1
- condition: contains(variables['CONFIG'], 'vs2008')
-
- - script: |
- call activate base
- conda.exe build "recipe" -m .ci_support\%CONFIG%.yaml
- displayName: Build recipe
- env:
- PYTHONUNBUFFERED: 1
- condition: not(contains(variables['CONFIG'], 'vs2008'))
- - script: |
- set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%"
- call activate base
- validate_recipe_outputs "%FEEDSTOCK_NAME%"
- displayName: Validate Recipe Outputs
-
- - script: |
- set "GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%"
- set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%"
- call activate base
- upload_package --validate --feedstock-name="%FEEDSTOCK_NAME%" .\ ".\recipe" .ci_support\%CONFIG%.yaml
- displayName: Upload package
- env:
- BINSTAR_TOKEN: $(BINSTAR_TOKEN)
- FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN)
- STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN)
- condition: and(succeeded(), not(eq(variables['UPLOAD_PACKAGES'], 'False')))
\ No newline at end of file
diff --git a/.ci_support/linux_64_python3.6.____cpython.yaml b/.ci_support/linux_64_.yaml
similarity index 89%
rename from .ci_support/linux_64_python3.6.____cpython.yaml
rename to .ci_support/linux_64_.yaml
index dea0f54..5ee9017 100644
--- a/.ci_support/linux_64_python3.6.____cpython.yaml
+++ b/.ci_support/linux_64_.yaml
@@ -12,5 +12,3 @@ pin_run_as_build:
max_pin: x.x
python:
- 3.6.* *_cpython
-target_platform:
-- linux-64
diff --git a/.ci_support/linux_64_python3.7.____cpython.yaml b/.ci_support/linux_64_python3.7.____cpython.yaml
deleted file mode 100644
index c6902c2..0000000
--- a/.ci_support/linux_64_python3.7.____cpython.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-cdt_name:
-- cos6
-channel_sources:
-- conda-forge,defaults
-channel_targets:
-- conda-forge main
-docker_image:
-- quay.io/condaforge/linux-anvil-comp7
-pin_run_as_build:
- python:
- min_pin: x.x
- max_pin: x.x
-python:
-- 3.7.* *_cpython
-target_platform:
-- linux-64
diff --git a/.ci_support/linux_64_python3.8.____cpython.yaml b/.ci_support/linux_64_python3.8.____cpython.yaml
deleted file mode 100644
index 6a81208..0000000
--- a/.ci_support/linux_64_python3.8.____cpython.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-cdt_name:
-- cos6
-channel_sources:
-- conda-forge,defaults
-channel_targets:
-- conda-forge main
-docker_image:
-- quay.io/condaforge/linux-anvil-comp7
-pin_run_as_build:
- python:
- min_pin: x.x
- max_pin: x.x
-python:
-- 3.8.* *_cpython
-target_platform:
-- linux-64
diff --git a/.ci_support/linux_64_python3.9.____cpython.yaml b/.ci_support/linux_64_python3.9.____cpython.yaml
deleted file mode 100644
index ea216d6..0000000
--- a/.ci_support/linux_64_python3.9.____cpython.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-cdt_name:
-- cos6
-channel_sources:
-- conda-forge,defaults
-channel_targets:
-- conda-forge main
-docker_image:
-- quay.io/condaforge/linux-anvil-comp7
-pin_run_as_build:
- python:
- min_pin: x.x
- max_pin: x.x
-python:
-- 3.9.* *_cpython
-target_platform:
-- linux-64
diff --git a/.ci_support/osx_64_python3.6.____cpython.yaml b/.ci_support/osx_64_python3.6.____cpython.yaml
deleted file mode 100644
index e5f17c2..0000000
--- a/.ci_support/osx_64_python3.6.____cpython.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-MACOSX_DEPLOYMENT_TARGET:
-- '10.9'
-channel_sources:
-- conda-forge,defaults
-channel_targets:
-- conda-forge main
-macos_machine:
-- x86_64-apple-darwin13.4.0
-pin_run_as_build:
- python:
- min_pin: x.x
- max_pin: x.x
-python:
-- 3.6.* *_cpython
-target_platform:
-- osx-64
diff --git a/.ci_support/osx_64_python3.7.____cpython.yaml b/.ci_support/osx_64_python3.7.____cpython.yaml
deleted file mode 100644
index 163d3ce..0000000
--- a/.ci_support/osx_64_python3.7.____cpython.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-MACOSX_DEPLOYMENT_TARGET:
-- '10.9'
-channel_sources:
-- conda-forge,defaults
-channel_targets:
-- conda-forge main
-macos_machine:
-- x86_64-apple-darwin13.4.0
-pin_run_as_build:
- python:
- min_pin: x.x
- max_pin: x.x
-python:
-- 3.7.* *_cpython
-target_platform:
-- osx-64
diff --git a/.ci_support/osx_64_python3.8.____cpython.yaml b/.ci_support/osx_64_python3.8.____cpython.yaml
deleted file mode 100644
index 63cee21..0000000
--- a/.ci_support/osx_64_python3.8.____cpython.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-MACOSX_DEPLOYMENT_TARGET:
-- '10.9'
-channel_sources:
-- conda-forge,defaults
-channel_targets:
-- conda-forge main
-macos_machine:
-- x86_64-apple-darwin13.4.0
-pin_run_as_build:
- python:
- min_pin: x.x
- max_pin: x.x
-python:
-- 3.8.* *_cpython
-target_platform:
-- osx-64
diff --git a/.ci_support/osx_64_python3.9.____cpython.yaml b/.ci_support/osx_64_python3.9.____cpython.yaml
deleted file mode 100644
index 51915a8..0000000
--- a/.ci_support/osx_64_python3.9.____cpython.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-MACOSX_DEPLOYMENT_TARGET:
-- '10.9'
-channel_sources:
-- conda-forge,defaults
-channel_targets:
-- conda-forge main
-macos_machine:
-- x86_64-apple-darwin13.4.0
-pin_run_as_build:
- python:
- min_pin: x.x
- max_pin: x.x
-python:
-- 3.9.* *_cpython
-target_platform:
-- osx-64
diff --git a/.ci_support/win_64_python3.6.____cpython.yaml b/.ci_support/win_64_python3.6.____cpython.yaml
deleted file mode 100644
index 96be81f..0000000
--- a/.ci_support/win_64_python3.6.____cpython.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-channel_sources:
-- conda-forge,defaults
-channel_targets:
-- conda-forge main
-pin_run_as_build:
- python:
- min_pin: x.x
- max_pin: x.x
-python:
-- 3.6.* *_cpython
-target_platform:
-- win-64
diff --git a/.ci_support/win_64_python3.7.____cpython.yaml b/.ci_support/win_64_python3.7.____cpython.yaml
deleted file mode 100644
index 281bd46..0000000
--- a/.ci_support/win_64_python3.7.____cpython.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-channel_sources:
-- conda-forge,defaults
-channel_targets:
-- conda-forge main
-pin_run_as_build:
- python:
- min_pin: x.x
- max_pin: x.x
-python:
-- 3.7.* *_cpython
-target_platform:
-- win-64
diff --git a/.ci_support/win_64_python3.8.____cpython.yaml b/.ci_support/win_64_python3.8.____cpython.yaml
deleted file mode 100644
index 0840c1a..0000000
--- a/.ci_support/win_64_python3.8.____cpython.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-channel_sources:
-- conda-forge,defaults
-channel_targets:
-- conda-forge main
-pin_run_as_build:
- python:
- min_pin: x.x
- max_pin: x.x
-python:
-- 3.8.* *_cpython
-target_platform:
-- win-64
diff --git a/.ci_support/win_64_python3.9.____cpython.yaml b/.ci_support/win_64_python3.9.____cpython.yaml
deleted file mode 100644
index f427bd2..0000000
--- a/.ci_support/win_64_python3.9.____cpython.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-channel_sources:
-- conda-forge,defaults
-channel_targets:
-- conda-forge main
-pin_run_as_build:
- python:
- min_pin: x.x
- max_pin: x.x
-python:
-- 3.9.* *_cpython
-target_platform:
-- win-64
diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh
deleted file mode 100755
index c299b79..0000000
--- a/.scripts/run_osx_build.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env bash
-
-set -x
-
-echo -e "\n\nInstalling a fresh version of Miniforge."
-if [[ ${CI} == "travis" ]]; then
- echo -en 'travis_fold:start:install_miniforge\\r'
-fi
-MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download"
-MINIFORGE_FILE="Miniforge3-MacOSX-x86_64.sh"
-curl -L -O "${MINIFORGE_URL}/${MINIFORGE_FILE}"
-bash $MINIFORGE_FILE -b
-if [[ ${CI} == "travis" ]]; then
- echo -en 'travis_fold:end:install_miniforge\\r'
-fi
-
-echo -e "\n\nConfiguring conda."
-if [[ ${CI} == "travis" ]]; then
- echo -en 'travis_fold:start:configure_conda\\r'
-fi
-
-source ${HOME}/miniforge3/etc/profile.d/conda.sh
-conda activate base
-
-echo -e "\n\nInstalling conda-forge-ci-setup=3 and conda-build."
-conda install -n base --quiet --yes "conda-forge-ci-setup=3" conda-build pip
-
-
-
-echo -e "\n\nSetting up the condarc and mangling the compiler."
-setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml
-mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml
-
-echo -e "\n\nMangling homebrew in the CI to avoid conflicts."
-/usr/bin/sudo mangle_homebrew
-/usr/bin/sudo -k
-
-echo -e "\n\nRunning the build setup script."
-source run_conda_forge_build_setup
-
-
-if [[ ${CI} == "travis" ]]; then
- echo -en 'travis_fold:end:configure_conda\\r'
-fi
-
-set -e
-
-echo -e "\n\nMaking the build clobber file and running the build."
-make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml
-
-conda build ./recipe -m ./.ci_support/${CONFIG}.yaml --suppress-variables --clobber-file ./.ci_support/clobber_${CONFIG}.yaml ${EXTRA_CB_OPTIONS:-}
-validate_recipe_outputs "${FEEDSTOCK_NAME}"
-
-if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then
- echo -e "\n\nUploading the packages."
- upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" ./ ./recipe ./.ci_support/${CONFIG}.yaml
-fi
\ No newline at end of file
diff --git a/README.md b/README.md
index d2559f1..b96640d 100644
--- a/README.md
+++ b/README.md
@@ -17,107 +17,11 @@ Current build status
====================
-
-
-
- Azure |
+All platforms: |
-
-
-
-
-
-
-
- Variant | Status |
-
- linux_64_python3.6.____cpython |
-
-
-
-
- |
-
- linux_64_python3.7.____cpython |
-
-
-
-
- |
-
- linux_64_python3.8.____cpython |
-
-
-
-
- |
-
- linux_64_python3.9.____cpython |
-
-
-
-
- |
-
- osx_64_python3.6.____cpython |
-
-
-
-
- |
-
- osx_64_python3.7.____cpython |
-
-
-
-
- |
-
- osx_64_python3.8.____cpython |
-
-
-
-
- |
-
- osx_64_python3.9.____cpython |
-
-
-
-
- |
-
- win_64_python3.6.____cpython |
-
-
-
-
- |
-
- win_64_python3.7.____cpython |
-
-
-
-
- |
-
- win_64_python3.8.____cpython |
-
-
-
-
- |
-
- win_64_python3.9.____cpython |
-
-
-
-
- |
-
-
-
-
+
+
+
|
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 6b346f5..ad85a2c 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -3,6 +3,4 @@
# -*- mode: yaml -*-
jobs:
- - template: ./.azure-pipelines/azure-pipelines-linux.yml
- - template: ./.azure-pipelines/azure-pipelines-win.yml
- - template: ./.azure-pipelines/azure-pipelines-osx.yml
\ No newline at end of file
+ - template: ./.azure-pipelines/azure-pipelines-linux.yml
\ No newline at end of file
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index c2ed138..83eaa66 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -10,26 +10,29 @@ source:
sha256: b4c825c790f28c619c176044c9e8836b7ca4a5125b93b2b9f8ee9039f16b21c3
build:
- number: 0
+ noarch: python
+ number: 1
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- - python
+ - python >=3.6
run:
- gmt >=6.1.1,<7.0
- netCDF4
- numpy
- packaging
- pandas
- - python
+ - python >=3.6
- xarray
test:
imports:
- pygmt
- pygmt.tests
+ commands:
+ - python -c "import pygmt; pygmt.show_versions()"
about:
home: https://www.pygmt.org