Skip to content

Commit afde00d

Browse files
author
Carlos Hernandez
committed
release 1.0.0
1 parent 11319c4 commit afde00d

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

devtools/conda-recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package:
2-
name: osprey-dev
3-
version: "1.0.0.dev0"
2+
name: osprey
3+
version: "1.0.0"
44

55
source:
66
path: ../../

devtools/travis-ci/build_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -ev
66
# Install the built package
77
conda create --yes -n docenv python=$CONDA_PY
88
source activate docenv
9-
conda install -yq --use-local osprey-dev
9+
conda install -yq --use-local osprey
1010

1111
# We don't use conda for these:
1212
# sphinx_rtd_theme's latest releases are not available

devtools/travis-ci/update_versions_json.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
import os
12
import json
3+
24
try:
35
from urllib.request import urlopen
46
except ImportError:
@@ -10,7 +12,8 @@
1012
exit(0)
1113

1214
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'))
1417

1518
# new release so all the others are now old
1619
for i in range(len(versions)):
@@ -21,6 +24,7 @@
2124
'url': "{base}/{version}".format(base=URL, version=version.short_version),
2225
'latest': True})
2326

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:
2530
json.dump(versions, versionf)
26-

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
from setuptools import setup, find_packages
66
from basesetup import write_version_py
77

8-
VERSION = '1.0.0.dev0'
9-
ISRELEASED = False
8+
VERSION = '1.0.0'
9+
ISRELEASED = True
1010
__version__ = VERSION
1111

1212
def main(**kwargs):

0 commit comments

Comments
 (0)