This repository was archived by the owner on Aug 11, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +80
-3
lines changed
Expand file tree Collapse file tree 5 files changed +80
-3
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,20 @@ Conda Setup
22-----------
33(from: https://conda.io/docs/user-guide/install/linux.html )
44
5+ (for python3)
56wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
67chmod a+x Miniconda3-latest-Linux-x86_64.sh
78./Miniconda3-latest-Linux-x86_64.sh
89export 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
1221conda install conda-build
@@ -22,9 +31,17 @@ export PATH=~/miniconda3/bin:$PATH
2231conda update conda
2332conda update conda-build
2433
34+ (if not exists:)
35+ mkdir python3
36+ -or-
37+ mkdir python2
38+
2539cd python3
40+ -or-
41+ cd python2
2642
27- cp -R paperspace paperspace.bak
43+ (if exists:)
44+ mv paperspace paperspace.bak
2845conda skeleton pypi paperspace
2946
3047cd paperspace
@@ -46,6 +63,8 @@ Upload Package to Anaconda.org
4663anaconda login
4764
4865anaconda 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
5069anaconda logout
5170
@@ -54,5 +73,6 @@ Cleanup
5473-------
5574conda build purge
5675
76+ (if exists:)
5777rm -Rf paperspace.bak
5878
Original file line number Diff line number Diff line change 1+ " %PYTHON% " setup.py install --single-version-externally-managed --record=record.txt
2+ if errorlevel 1 exit 1
Original file line number Diff line number Diff line change 1+ $PYTHON setup.py install --single-version-externally-managed --record=record.txt
Original file line number Diff line number Diff line change 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 : ' '
Original file line number Diff line number Diff line change 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
77package :
88 name : ' {{ name|lower }}'
You can’t perform that action at this time.
0 commit comments