Skip to content

Commit

Permalink
Merge pull request #63 from changliao1025/development
Browse files Browse the repository at this point in the history
add cmake into meta
  • Loading branch information
changliao1025 authored May 10, 2023
2 parents 0bc88b6 + 5fc6509 commit 2384ce0
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM continuumio/miniconda3:latest

RUN apt-get update && \
apt-get install -y cmake && \
rm -rf /var/lib/apt/lists/*

COPY environment.yml .

RUN conda env create -f environment.yml && \
conda clean -afy && \
rm -rf /opt/conda/pkgs/*

ENV PATH /opt/conda/envs/hexwatershed/bin:$PATH

CMD ["/bin/bash"]
13 changes: 11 additions & 2 deletions meta.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
package:
name: "hexwatershed"
version: "0.2.12"
version: "0.2.13"

source:
git_rev: v0.2.12
git_rev: v0.2.13
git_url: https://github.com/changliao1025/pyhexwatershed

build:
number: 0
# Define custom build commands
host:
platform: linux-64
script:
- cmake
- make
- python setup.py build_external
# Build the package for macOS (64-bit)
host:
platform: osx-64
script:
- cmake
- make
- python setup.py build_external
host:
platform: win-64
script:
- cmake
- make
- python setup.py build_external

requirements:
Expand All @@ -28,6 +35,8 @@ requirements:
- osx-64
- win-64
build:
- cmake
- make
- python
- packaging
- setuptool
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.2.12
current_version = 0.2.13
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
AUTHOR = "Chang Liao"
AUTHOR_EMAIL = "chang.liao@pnnl.gov"
URL = "https://github.com/changliao1025/pyhexwatershed"
VERSION = "0.2.12"
VERSION = "0.2.13"
REQUIRES_PYTHON = ">=3.8.0"
KEYWORDS = "hexwatershed hexagon"

Expand Down

0 comments on commit 2384ce0

Please sign in to comment.