diff --git a/README.md b/README.md index bf7399e..9eacf5d 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,7 @@ In order to produce a uniquely identifiable distribution: Feedstock Maintainers ===================== +* [@bobleesj](https://github.com/bobleesj/) * [@dragonyanglong](https://github.com/dragonyanglong/) * [@pavoljuhas](https://github.com/pavoljuhas/) * [@sbillinge](https://github.com/sbillinge/) diff --git a/build-locally.py b/build-locally.py index d78427b..8ac9b84 100755 --- a/build-locally.py +++ b/build-locally.py @@ -1,8 +1,11 @@ -#!/usr/bin/env python3 +#!/bin/sh +"""exec' "python3" "$0" "$@" #""" # fmt: off # fmt: on # # This file has been generated by conda-smithy in order to build the recipe # locally. # +# The line above this comment is a bash / sh / zsh guard +# to stop people from running it with the wrong interpreter import glob import os import platform diff --git a/recipe/meta.yaml b/recipe/meta.yaml index de23f39..1812e03 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,6 +1,5 @@ {% set name = "diffpy.structure" %} -{% set version = "3.2.0" %} -{%- set sha256 = "931da51620a660959d5d7192a781f4e21a91a78174ebe371787f42ba4759af7a" -%} +{% set version = "3.2.1" %} package: name: {{ name|lower }} @@ -8,11 +7,9 @@ package: source: url: https://pypi.io/packages/source/d/diffpy_structure/diffpy_structure-{{ version }}.tar.gz - sha256: {{ sha256 }} + sha256: fc46d222ec17431fddfc7046498ccc98af4a51f4e619cc09f6113c495b780a55 build: - # we need egg_dir to avoid overlapping diffpy/__init__.py files. - preserve_egg_dir: true noarch: python number: 0 script: python -m pip install --no-deps --ignore-installed . @@ -34,9 +31,8 @@ test: - diffpy - diffpy.structure - diffpy.structure.parsers - - diffpy.structure.applications + - diffpy.structure.apps - diffpy.structure.expansion - - diffpy.structure.tests requires: - pytest diff --git a/recipe/run_test.py b/recipe/run_test.py deleted file mode 100644 index 65ea688..0000000 --- a/recipe/run_test.py +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env python - -import importlib -from pathlib import Path -import pytest - -# import diffpy.structure.tests -# assert diffpy.structure.tests.test().wasSuccessful() - -if __name__ == "__main__": - package_directory = 'diffpy.structure' - module = importlib.import_module(package_directory) - module_path = Path(module.__file__).parent - test_location = module_path / 'tests' - exit_code = pytest.main([str(test_location), "-v"]) - assert exit_code == 0