-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathmeta.yaml
68 lines (61 loc) · 1.63 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package:
name: menuinst
version: {{ GIT_DESCRIBE_TAG }}+{{ GIT_BUILD_STR }}
source:
git_url: ../
build:
number: 0
script_env:
- SETUPTOOLS_SCM_PRETEND_VERSION="{{ GIT_DESCRIBE_TAG }}+{{ GIT_BUILD_STR }}"
script:
# Apparently these files make the post-build linkage analysis crash
# and we should not need them on Windows
- del /q "{{ SRC_DIR }}\\menuinst\\data\\osx_launcher_*" # [win]
- del /q "{{ SRC_DIR }}\\menuinst\\data\\appkit_launcher_*" # [win]
- {{ PYTHON }} -m pip install . -vv
# menuinst v1 expects cwp.py in PREFIX; backwards compat fix
- copy "%SP_DIR%\\menuinst\\_legacy\cwp.py" "%PREFIX%\\" # [win]
# entry_points:
# - menuinst = menuinst.main:main
requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- {{ compiler('c') }} # [win]
- {{ compiler('cxx') }} # [win]
host:
- python
- pip
- setuptools
run:
- python
test:
requires:
- conda
- pytest
- pytest-cov
- pydantic
- hypothesis
- hypothesis-jsonschema
source_files:
- tests
imports:
- menuinst
commands:
- unset CI # [unix]
- set "CI=" # [win]
- pytest --no-cov -vv -k "not elevation"
about:
home: https://github.com/conda/menuinst/
license: BSD-3-Clause AND MIT
license_file:
- LICENSE.txt
- menuinst/_vendor/apipkg/LICENSE
summary: cross platform install of menu items
doc_url: https://conda.github.io/menuinst/
extra:
recipe-maintainers:
- goanpeca
- jakirkham
- carlodri
- jaimergp