Skip to content

Commit ee27094

Browse files
committed
Tested Conda Build/Use instructions
1 parent 46df2e3 commit ee27094

File tree

2 files changed

+38
-6
lines changed

2 files changed

+38
-6
lines changed

makefiles/conda/README.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,31 @@ Enter the conda environment:
99
source ~/miniconda3/bin/activate
1010
```
1111

12-
Get the build tools:
12+
Get the build and upload tools:
1313

1414
```bash
1515
(base) $ conda install conda-build
16+
(base) $ conda install anaconda-client
1617
```
1718

19+
Special extra hassles for MacOS, download the SDK matching your version of MacOS
20+
and unzip it to /opt (just like the Anaconda default):
21+
```bash
22+
# General page at: https://github.com/phracker/MacOSX-SDKs/releases
23+
cd ~/
24+
wget https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.13.sdk.tar.xz
25+
xz -d MacOSX10.13.sdk.tar.xz
26+
cd /opt
27+
sudo tar -xvf $HOME/MacOSX10.13.sdk.tar.xz
28+
```
29+
Next for MacOS, setup a `$HOME/conda_build_config.yaml` file with the following contents.
30+
Again, your MacOS version may vary:
31+
```yaml
32+
CONDA_BUILD_SYSROOT:
33+
- /opt/MacOSX10.13.sdk # [osx]
34+
```
35+
36+
1837
Get this directory:
1938
```bash
2039
(base) $ git clone https://github.com/das-developers/das2C.git
@@ -32,7 +51,20 @@ Upload to anaconda.org
3251
(or similar)
3352
```
3453

35-
Have users update:
54+
Have users install via:
55+
```bash
56+
(base) $ conda install -c dasdevelopers das2c
57+
```
58+
Or update via:
3659
```bash
37-
(base) $ conda update -c dasdevelopers das2C
38-
```
60+
(base) $ conda update -c dasdevelopers das2c
61+
```
62+
And test via:
63+
```bash
64+
(base) $ das2_psd -h
65+
```
66+
67+
68+
69+
70+

makefiles/conda/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# Example:
66
# openssl sha256 das2C-2.3-pre3.tar.gz | awk '{print $2}'
77

8-
{% set name = "das2C" %}
8+
{% set name = "das2c" %}
99
{% set conda_version = "2.3.rc3" %}
10-
{% set git_version = "2.3-pre3"}
10+
{% set git_version = "2.3-pre3" %}
1111
{% set sha256 = "6362189d746045b2294810f28d9319f60f1f035a3df71667a1d09677248f3e2e" %}
1212

1313

0 commit comments

Comments
 (0)