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

Commit e1c8b36

Browse files
committed
update conda package version; add conda python 2.7 package
1 parent f6b57ae commit e1c8b36

File tree

5 files changed

+80
-3
lines changed

5 files changed

+80
-3
lines changed

conda/CONDA_PACKAGE.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@ Conda Setup
22
-----------
33
(from: https://conda.io/docs/user-guide/install/linux.html )
44

5+
(for python3)
56
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
67
chmod a+x Miniconda3-latest-Linux-x86_64.sh
78
./Miniconda3-latest-Linux-x86_64.sh
89
export PATH=~/miniconda3/bin:$PATH
910

11+
-or-
12+
13+
(for python2)
14+
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
15+
chmod a+x Miniconda2-latest-Linux-x86_64.sh
16+
./Miniconda2-latest-Linux-x86_64.sh
17+
export PATH=~/miniconda2/bin:$PATH
18+
1019
(from: https://conda.io/docs/user-guide/tutorials/build-pkgs-skeleton.html )
1120

1221
conda install conda-build
@@ -22,9 +31,17 @@ export PATH=~/miniconda3/bin:$PATH
2231
conda update conda
2332
conda update conda-build
2433

34+
(if not exists:)
35+
mkdir python3
36+
-or-
37+
mkdir python2
38+
2539
cd python3
40+
-or-
41+
cd python2
2642

27-
cp -R paperspace paperspace.bak
43+
(if exists:)
44+
mv paperspace paperspace.bak
2845
conda skeleton pypi paperspace
2946

3047
cd paperspace
@@ -46,6 +63,8 @@ Upload Package to Anaconda.org
4663
anaconda login
4764

4865
anaconda upload ~/miniconda3/conda-bld/linux-64/paperspace-X.X.X-py36_0.tar.bz2
66+
-or-
67+
anaconda upload ~/miniconda3/conda-bld/linux-64/paperspace-X.X.X-py27_0.tar.bz2
4968

5069
anaconda logout
5170

@@ -54,5 +73,6 @@ Cleanup
5473
-------
5574
conda build purge
5675

76+
(if exists:)
5777
rm -Rf paperspace.bak
5878

conda/python2/paperspace/bld.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt
2+
if errorlevel 1 exit 1

conda/python2/paperspace/build1.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$PYTHON setup.py install --single-version-externally-managed --record=record.txt

conda/python2/paperspace/meta.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{% set name = "paperspace" %}
2+
{% set version = "0.0.11" %}
3+
{% set file_ext = "tar.gz" %}
4+
{% set hash_type = "sha256" %}
5+
{% set hash_value = "eaee7d09abdc1ee7b575250f5d127f1f874a2fa456ebb7c6ddee4a366356297c" %}
6+
7+
package:
8+
name: '{{ name|lower }}'
9+
version: '{{ version }}'
10+
11+
source:
12+
fn: '{{ name }}-{{ version }}.{{ file_ext }}'
13+
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.{{ file_ext }}
14+
'{{ hash_type }}': '{{ hash_value }}'
15+
16+
build:
17+
number: 0
18+
entry_points:
19+
- paperspace-python = paperspace.main:main
20+
script: python setup.py install --single-version-externally-managed --record=record.txt
21+
22+
requirements:
23+
host:
24+
- python
25+
- setuptools
26+
- requests
27+
- boto3
28+
- botocore
29+
- six
30+
run:
31+
- python
32+
- requests
33+
- boto3
34+
- botocore
35+
- six
36+
37+
test:
38+
imports:
39+
- paperspace
40+
commands:
41+
- paperspace-python --help
42+
43+
about:
44+
home: https://github.com/paperspace/paperspace-python
45+
license: ISC License (ISCL)
46+
license_family: OTHER
47+
license_file: ''
48+
summary: Paperspace Python
49+
description: "Paperspace Python"
50+
doc_url: ''
51+
dev_url: ''
52+
53+
extra:
54+
recipe-maintainers: ''

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.10" %}
2+
{% set version = "0.0.11" %}
33
{% set file_ext = "tar.gz" %}
44
{% set hash_type = "sha256" %}
5-
{% set hash_value = "e1b839a9eba4fd8194072ba3984ebec9e0dbda12d5bf232bd24a1b92e3ae29d6" %}
5+
{% set hash_value = "eaee7d09abdc1ee7b575250f5d127f1f874a2fa456ebb7c6ddee4a366356297c" %}
66

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

0 commit comments

Comments
 (0)