Skip to content

Commit

Permalink
Conda recipe works.
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenthompson committed Aug 13, 2021
1 parent a8b9e55 commit 21f1264
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@ package:
version: {{ version }}

source:
# url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/cutde-{{ version }}.tar.gz
git_url: ../
# sha256: c3ccf16c62580a941e4fee2e753748f164fa154dc835d0b0bb94de0d61829a11
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/cutde-{{ version }}.tar.gz
sha256: c3ccf16c62580a941e4fee2e753748f164fa154dc835d0b0bb94de0d61829a11

build:
number: 0
noarch: python
script: python -m pip install --no-deps --ignore-installed .
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv "
skip: True # [py<37]
skip: True # [win]

requirements:
build:
Expand All @@ -32,11 +29,14 @@ requirements:
- numpy
- pip
- llvm-openmp # [osx]
- pybind11
- mako

run:
- python
- {{ pin_compatible('numpy') }}
- pyproj
- pybind11
- mako

test:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os

from pybind11.setup_helpers import Pybind11Extension
from setuptools import setup
from setuptools import find_packages, setup

version = open("VERSION").read()

Expand Down Expand Up @@ -44,7 +44,7 @@
]

setup(
packages=["cutde"],
packages=find_packages(),
install_requires=["mako", "pybind11"],
ext_modules=ext_modules,
zip_safe=False,
Expand Down

0 comments on commit 21f1264

Please sign in to comment.