mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
conda: use new noarch system
This commit is contained in:
parent
50413980d2
commit
2b18943947
@ -6,7 +6,7 @@ source:
|
|||||||
git_url: ../..
|
git_url: ../..
|
||||||
|
|
||||||
build:
|
build:
|
||||||
noarch_python: true
|
noarch: python
|
||||||
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
|
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
|
||||||
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_FULL_HASH", "")[:8] }}
|
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_FULL_HASH", "")[:8] }}
|
||||||
|
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
ARTIQ_PREFIX=$PREFIX/lib/python3.5/site-packages/artiq
|
|
||||||
|
|
||||||
$PYTHON setup.py install --single-version-externally-managed --record=record.txt
|
|
@ -5,10 +5,20 @@ package:
|
|||||||
source:
|
source:
|
||||||
git_url: ../..
|
git_url: ../..
|
||||||
|
|
||||||
|
{% set data = load_setup_py_data() %}
|
||||||
|
|
||||||
build:
|
build:
|
||||||
noarch_python: true
|
noarch: python
|
||||||
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
|
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
|
||||||
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_FULL_HASH", "")[:8] }}
|
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_FULL_HASH", "")[:8] }}
|
||||||
|
entry_points:
|
||||||
|
# NOTE: conda-build cannot distinguish between console and gui scripts
|
||||||
|
{% for entry_point_type, entry_points in data.get("entry_points", dict()).items() -%}
|
||||||
|
{% for entry_point in entry_points -%}
|
||||||
|
- {{ entry_point }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
|
script: $PYTHON setup.py install --single-version-externally-managed --record=record.txt
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
build:
|
build:
|
||||||
|
Loading…
Reference in New Issue
Block a user