Skip to content

Commit

Permalink
release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Hernandez committed Jun 23, 2016
1 parent 11319c4 commit afde00d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions devtools/conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: osprey-dev
version: "1.0.0.dev0"
name: osprey
version: "1.0.0"

source:
path: ../../
Expand Down
2 changes: 1 addition & 1 deletion devtools/travis-ci/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -ev
# Install the built package
conda create --yes -n docenv python=$CONDA_PY
source activate docenv
conda install -yq --use-local osprey-dev
conda install -yq --use-local osprey

# We don't use conda for these:
# sphinx_rtd_theme's latest releases are not available
Expand Down
10 changes: 7 additions & 3 deletions devtools/travis-ci/update_versions_json.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import os
import json

try:
from urllib.request import urlopen
except ImportError:
Expand All @@ -10,7 +12,8 @@
exit(0)

URL = 'http://www.msmbuilder.org/osprey'
versions = json.load(urlopen(URL + '/versions.json'))
res = urlopen(URL + '/versions.json')
versions = json.loads(res.read().decode('utf-8'))

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

with open("doc/_deploy/versions.json", 'w') as versionf:
curpath = os.path.abspath(os.curdir)
savepath = os.path.join(curpath, "docs/_deploy/versions.json")
with open(savepath, 'w') as versionf:
json.dump(versions, versionf)

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from setuptools import setup, find_packages
from basesetup import write_version_py

VERSION = '1.0.0.dev0'
ISRELEASED = False
VERSION = '1.0.0'
ISRELEASED = True
__version__ = VERSION

def main(**kwargs):
Expand Down

0 comments on commit afde00d

Please sign in to comment.