Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

Commit 73512fd

Browse files
committed
update conda package defs
1 parent 6c4d709 commit 73512fd

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

conda/CONDA_PACKAGE.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,30 @@ conda install anaconda-client
1515

1616
Conda Package Build
1717
-------------------
18+
cd ~/sdk/paperspace-python/conda
19+
20+
bash
21+
export PATH=~/miniconda3/bin:$PATH
1822
conda update conda
1923
conda update conda-build
2024

2125
cd python3
2226

23-
conda-build paperspace
27+
cp -R paperspace paperspace.bak
28+
conda skeleton pypi paperspace
2429

25-
conda build purge
30+
cd paperspace
31+
32+
wget https://conda.io/docs/_downloads/build1.sh
33+
wget https://conda.io/docs/_downloads/bld.bat
34+
chmod a+x build1.sh
35+
36+
sed -i -e "s/requests\[security\]/requests/g" meta.yaml
37+
sed -i -e "/^ description: /,/^ doc_url: ''/c\ description: \"Paperspace Python\"\n doc_url: ''" meta.yaml
38+
39+
cd ..
40+
41+
conda-build paperspace
2642

2743

2844
Upload Package to Anaconda.org
@@ -33,3 +49,10 @@ anaconda upload ~/miniconda3/conda-bld/linux-64/paperspace-X.X.X-py36_0.tar.bz2
3349

3450
anaconda logout
3551

52+
53+
Cleanup
54+
-------
55+
conda build purge
56+
57+
rm -Rf paperspace.bak
58+

conda/python3/paperspace/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{% set name = "paperspace" %}
2-
{% set version = "0.0.9" %}
2+
{% set version = "0.0.10" %}
33
{% set file_ext = "tar.gz" %}
44
{% set hash_type = "sha256" %}
5-
{% set hash_value = "674c422e1cf775c7ac8d31fe144191aae22a68ecef308d78559abbf0e4b6aa39" %}
5+
{% set hash_value = "e1b839a9eba4fd8194072ba3984ebec9e0dbda12d5bf232bd24a1b92e3ae29d6" %}
66

77
package:
88
name: '{{ name|lower }}'

0 commit comments

Comments
 (0)