File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
package :
2
- name : osprey-dev
3
- version : " 1.0.0.dev0 "
2
+ name : osprey
3
+ version : " 1.0.0"
4
4
5
5
source :
6
6
path : ../../
Original file line number Diff line number Diff line change 6
6
# Install the built package
7
7
conda create --yes -n docenv python=$CONDA_PY
8
8
source activate docenv
9
- conda install -yq --use-local osprey-dev
9
+ conda install -yq --use-local osprey
10
10
11
11
# We don't use conda for these:
12
12
# sphinx_rtd_theme's latest releases are not available
Original file line number Diff line number Diff line change
1
+ import os
1
2
import json
3
+
2
4
try :
3
5
from urllib .request import urlopen
4
6
except ImportError :
10
12
exit (0 )
11
13
12
14
URL = 'http://www.msmbuilder.org/osprey'
13
- versions = json .load (urlopen (URL + '/versions.json' ))
15
+ res = urlopen (URL + '/versions.json' )
16
+ versions = json .loads (res .read ().decode ('utf-8' ))
14
17
15
18
# new release so all the others are now old
16
19
for i in range (len (versions )):
21
24
'url' : "{base}/{version}" .format (base = URL , version = version .short_version ),
22
25
'latest' : True })
23
26
24
- with open ("doc/_deploy/versions.json" , 'w' ) as versionf :
27
+ curpath = os .path .abspath (os .curdir )
28
+ savepath = os .path .join (curpath , "docs/_deploy/versions.json" )
29
+ with open (savepath , 'w' ) as versionf :
25
30
json .dump (versions , versionf )
26
-
Original file line number Diff line number Diff line change 5
5
from setuptools import setup , find_packages
6
6
from basesetup import write_version_py
7
7
8
- VERSION = '1.0.0.dev0 '
9
- ISRELEASED = False
8
+ VERSION = '1.0.0'
9
+ ISRELEASED = True
10
10
__version__ = VERSION
11
11
12
12
def main (** kwargs ):
You can’t perform that action at this time.
0 commit comments