Use py3k selector to select setup3.py and skip importing some modules
{% set version = "220" %}
{% set hash_type = "sha1" %}
{% set hash = "88ba6a31c077a9e1b49b59dc215ddadc6aa5e3d6" %}
-{% set py_major = os.environ['CONDA_PY'][0] %}
package:
name: {{ name }}
@@ -15,7 +14,7 @@ source:
build:
number: 0
- script: python setup{{ py_major }}.py install --record=record.txt
+ script: python setup{{ '3' if py3k else '' }}.py install --record=record.txt
skip: True # [not win]
features:
- vc9 # [win and py27]
@@ -37,6 +36,9 @@ requirements:
test:
imports:
# list obtained from: http://timgolden.me.uk/pywin32-docs/win32_modules.html
+ # skipped:
+ # - _winxptheme # private module
+ # - wincerapi # interface to the win32 CE Remote API
- mmapfile
- odbc
- perfmon
@@ -69,7 +71,6 @@ test:
- win32transaction
- win32ts
- win32wnet
- - wincerapi
about:
home: https://sourceforge.net/projects/pywin32
