add python spec, description
@@ -15,9 +15,9 @@ build:
requirements:
host:
- - python
+ - python >=2.7
run:
- - python
+ - python >=2.7
{% if pkg_type == 'pywin32' %}
- pywin32
{% else %}
@@ -25,13 +25,12 @@ requirements:
{% endif %}
test:
- imports:
{% if pkg_type == 'pywin32' %}
+ imports:
- win32api
{% endif %}
requires:
- pip
- - python
commands:
- pip check
@@ -41,6 +40,13 @@ about:
license_family: BSD
license_file: LICENSE.txt
summary: 'A virtual package for pywin32... but only on windows'
+ description: |-
+ This package exists so other packages can depend on `pywin32`, often the only
+ platform specific dependency, while remaining `noarch: python`. On non-Windows
+ platforms, installing it is a no-op.
+
+ A specific version constraint for `pywin32` itself can be specified at build
+ time with `run_constrained`.
extra:
recipe-maintainers:
