diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml deleted file mode 100644 index a29fb8b..0000000 --- a/conda.recipe/meta.yaml +++ /dev/null @@ -1,53 +0,0 @@ -{% set name = "spyder-line-profiler" %} -{% set version = "0.1.1" %} -{% set hash_type = "sha256" %} -{% set hash = "9f6170589073a5f56615fc1e6046f64c6c9406dc4094cc46214e5d8ca7bb3561" %} - -package: - name: {{ name|lower }} - version: {{ version }} - -source: - fn: {{ name }}-{{ version }}.tar.gz - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name.replace('-', '_') }}-{{ version }}.tar.gz - {{ hash_type }}: {{ hash }} - -build: - number: 0 - script: python setup.py install --single-version-externally-managed --record=record.txt - -requirements: - build: - - python - - setuptools - - run: - - line_profiler - - python - - spyder >=5.2 - -test: - # On Linux, importing requires an X server - files: - - test_import.py # [linux] - commands: - - DISPLAY=localhost:1.0 xvfb-run -a bash -c 'python test_import.py' # [linux] - import: - - spyder_line_profiler # [not linux] - -about: - home: https://github.com/spyder-ide/spyder-line-profiler - license: MIT - license_family: MIT - license_file: LICENSE.txt - summary: Spyder plugin that integrates the Python line profiler. - description: | - This is a plugin for the Spyder IDE that integrates the Python line profiler. - It allows you to see the time spent in every line. - dev_url: https://github.com/spyder-ide/spyder-line-profiler - -extra: - recipe-maintainers: - - ccordoba12 - - jitseniesen - - goanpeca diff --git a/conda.recipe/test_import.py b/conda.recipe/test_import.py deleted file mode 100644 index 8668a40..0000000 --- a/conda.recipe/test_import.py +++ /dev/null @@ -1,10 +0,0 @@ -""" -Test whether spyder_line_profiler can be imported. - -Importing spyder_line_profiler requires a running X server on Linux, -so this Python file is run inside an Xvfb (X virtual framebuffer) -using xvfb-run. For this reason, we cannot use an import stanza in the -test section in meta.yaml. -""" - -import spyder_line_profiler diff --git a/conda.recipe/yum_requirements.txt b/conda.recipe/yum_requirements.txt deleted file mode 100644 index 927a8a2..0000000 --- a/conda.recipe/yum_requirements.txt +++ /dev/null @@ -1 +0,0 @@ -xorg-x11-server-Xvfb