diff --git a/README.md b/README.md index f519eeb..4d300a6 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ Current release info | Name | Downloads | Version | Platforms | | --- | --- | --- | --- | | [![Conda Recipe](https://img.shields.io/badge/recipe-spyder-green.svg)](https://anaconda.org/conda-forge/spyder) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/spyder.svg)](https://anaconda.org/conda-forge/spyder) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/spyder.svg)](https://anaconda.org/conda-forge/spyder) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/spyder.svg)](https://anaconda.org/conda-forge/spyder) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-spyder--base-green.svg)](https://anaconda.org/conda-forge/spyder-base) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/spyder-base.svg)](https://anaconda.org/conda-forge/spyder-base) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/spyder-base.svg)](https://anaconda.org/conda-forge/spyder-base) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/spyder-base.svg)](https://anaconda.org/conda-forge/spyder-base) | Installing spyder ================= @@ -113,16 +114,16 @@ conda config --add channels conda-forge conda config --set channel_priority strict ``` -Once the `conda-forge` channel has been enabled, `spyder` can be installed with `conda`: +Once the `conda-forge` channel has been enabled, `spyder, spyder-base` can be installed with `conda`: ``` -conda install spyder +conda install spyder spyder-base ``` or with `mamba`: ``` -mamba install spyder +mamba install spyder spyder-base ``` It is possible to list all of the versions of `spyder` available on your platform with `conda`: diff --git a/recipe/bld.bat b/recipe/bld.bat index 15785c2..7e304c8 100644 --- a/recipe/bld.bat +++ b/recipe/bld.bat @@ -1,5 +1,6 @@ setlocal ENABLEDELAYEDEXPANSION +set SPYDER_QT_BINDING=conda-forge %PYTHON% -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv if errorlevel 1 exit 1 diff --git a/recipe/build.sh b/recipe/build.sh index 4411103..c028ebe 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -1,5 +1,6 @@ #!/bin/bash +export SPYDER_QT_BINDING=conda-forge $PYTHON -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv rm -rf $PREFIX/man diff --git a/recipe/meta.yaml b/recipe/meta.yaml index fd5f252..411a0df 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,25 +1,26 @@ {% set version = "6.0.3" %} {% set python_min = "3.8" %} +{% set build = 1 %} package: - name: spyder + name: spyder-base version: {{ version }} source: url: https://pypi.org/packages/source/s/spyder/spyder-{{ version }}.tar.gz - sha256: 8387321b9390d7cd0af4dccf44eff21f7098e644034bf83e7e9e6a09afd80c0f + sha256: 98f52b018167de4e4d42bb24ec1d9a3c59e4031292282e08f7b0e714f2b5a6f3 patches: # See spyder-ide/spyder#8316 - osx-zmq.patch build: - number: 0 + number: {{ build }} entry_points: - spyder = spyder.app.start:main osx_is_app: true # https://github.com/conda/conda-build/issues/5385 - noarch: python # [not win] - string: "osx_pyh{{ PKG_HASH }}_{{ PKG_BUILDNUM }}" # [osx] + noarch: python # [unix] + string: "osx_pyh{{ PKG_HASH }}_{{ PKG_BUILDNUM }}" # [osx] string: "linux_pyh{{ PKG_HASH }}_{{ PKG_BUILDNUM }}" # [linux] requirements: @@ -58,16 +59,14 @@ requirements: - parso >=0.7.0,<0.9.0 - pexpect >=4.4.0 - pickleshare >=0.4 + - psutil >=5.3 # This is here to work around a bug in mamba - ptyprocess >=0.5 # [win] - - psutil >=5.3 - pygithub >=2.3.0 - pygments >=2.0 - pylint >=3.1,<4 - pylint-venv >=3.0.2 - pyls-spyder >=0.4.0 - - pyqt >=5.15,<5.16 - - pyqtwebengine >=5.15,<5.16 - python.app # [osx] - python-lsp-black >=2.0.0,<3.0.0 - python-lsp-server >=1.12.0,<1.13.0 @@ -77,12 +76,12 @@ requirements: - qdarkstyle >=3.2.0,<3.3.0 - qstylizer >=0.2.2 - qtawesome >=1.3.1,<1.4.0 - - qtconsole >=5.6.1,<5.7.0 + - qtconsole-base >=5.6.1,<5.7.0 - qtpy >=2.4.0 - rtree >=0.9.7 - setuptools >=49.6.0 - sphinx >=0.6.6 - - spyder-kernels >=3.0.2,<3.1.0 + - spyder-kernels >=3.0.1,<3.1.0 - superqt >=0.6.2,<1.0.0 - textdistance >=4.2.0 - three-merge >=0.1.1 @@ -93,16 +92,14 @@ requirements: - __osx # [osx] run_constrained: - menuinst >=2.1.2 + - spyder =={{ version }}=*{{ build }} test: requires: - - python {{ python_min }} # [unix] - pip commands: - - USER=test spyder -h # [unix] - - spyder -h # [win] - # Pip fails when running but the package is installed correctly - - python -m pip check # [not aarch64] + - spyder -h + - python -m pip check imports: - spyder @@ -112,6 +109,26 @@ app: summary: The Scientific Python Development Environment type: desk +outputs: + - name: spyder-base + - name: spyder + build: + noarch: python + requirements: + run: + - spyder-base =={{ version }}=*{{ build }} + - pyqt >=5.15,<5.16 + - pyqtwebengine >=5.15,<5.16 + - qtconsole >=5.6.1,<5.7.0 + test: + requires: + - pip + commands: + - spyder -h + - python -m pip check + imports: + - spyder + about: home: https://www.spyder-ide.org/ license: MIT @@ -136,6 +153,7 @@ about: dev_url: https://github.com/spyder-ide/spyder extra: + feedstock-name: spyder recipe-maintainers: - ccordoba12 - dalthviz