Skip to content

Commit

Permalink
switched to python setup.py install
Browse files Browse the repository at this point in the history
- based on conda-forge#528:
used --single-version-externally-managed --record record.txt
  • Loading branch information
jrmadsen committed Jul 4, 2021
1 parent fbf4f4e commit e440afe
Showing 1 changed file with 20 additions and 13 deletions.
33 changes: 20 additions & 13 deletions recipes/timemory/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
{% set name = "timemory" %}
{% set version = "3.2.1rc2" %}
{% set version = "3.2.1rc3" %}

package:
name: '{{ name|lower }}'
version: '{{ version }}'

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: ecba96df1c5113061d05c03cec446d2dfa23d8c60c0551f132a4fc2a91a33e1a
sha256: 2b5342591511a4b3ebd931d13368d3f6bb1ec4edb256185b6bec31c067c656db

build:
number: 0
script: "{{ PYTHON }} -m pip install -e . --no-deps --no-build-isolation --ignore-installed -vvv \
--install-option='--disable-ompt' \
--install-option='--disable-upcxx' \
--install-option='--disable-kokkos' \
--install-option='--disable-caliper' \
--install-option='--disable-gperftools' \
--install-option='--cmake-args=-DTIMEMORY_REQUIRE_PACKAGES=OFF -DTIMEMORY_UNITY_BUILD=OFF -DTIMEMORY_BUILD_FORTRAN=OFF -DTIMEMORY_BUILD_COMPILER_INSTRUMENTATION=OFF -DTIMEMORY_BUILD_ERT=OFF -DTIMEMORY_BUILD_PYTHON_HATCHET=OFF'"
script: "{{ PYTHON }} setup.py install --single-version-externally-managed --record record.txt \
--disable-ompt \
--disable-upcxx \
--disable-kokkos \
--disable-caliper \
--disable-dyninst \
--disable-gperftools \
-- \
-DTIMEMORY_UNITY_BUILD=OFF \
-DTIMEMORY_BUILD_FORTRAN=OFF \
-DTIMEMORY_BUILD_PORTABLE=ON \
-DTIMEMORY_REQUIRE_PACKAGES=OFF \
-DTIMEMORY_BUILD_PYTHON_HATCHET=OFF \
-DTIMEMORY_BUILD_COMPILER_INSTRUMENTATION=OFF"
skip: true # [win and vc<15]

requirements:
Expand All @@ -29,17 +36,17 @@ requirements:
host:
- python
- pip
- cython
- pybind11-abi
- scikit-build
- cython
run:
- python
- six
- numpy
- matplotlib
- pydot
- pillow
- six
- pandas
- pydot
- matplotlib
- multiprocess
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx and x86_64]

Expand Down

0 comments on commit e440afe

Please sign in to comment.