Source is now PyPI, which does not include tests or examples packages. Tests files are downloaded from separate source (GitHub).
{% set owner = "KCL-BMEIS" %}
{% set name = "spectrumdevice" %}
-{% set version = "0.1.2" %}
+{% set version = "0.1.3" %}
package:
@@ -8,8 +8,12 @@ package:
version: {{ version }}
source:
- url: https://github.com/{{ owner }}/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz
- sha256: 5e044fbf034fbcf6ba953d4d156e6479de4624baa72c7f0ea21abc133942288f
+ - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ sha256: ffc7519468f721d5da36feb59692d8d894a2b297d0d4ade7528aa4899c2d218c
+
+ - url: https://github.com/{{ owner }}/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz
+ sha256: ed88c5b108aafa03b51cab6feaf9992de8598a1aa3a4469a92cf24922eab1c70
+ folder: test-data
build:
number: 0
@@ -28,13 +32,12 @@ test:
imports:
- spectrum_gmbh
- spectrumdevice
- - tests
- - example_scripts
requires:
- pip
- pytest
source_files:
- - tests
+ - test-data/tests
+ - test-data/example_scripts
commands:
- pip check
- pytest
