Commit a43d7dd9 authored by Alex Nunes's avatar Alex Nunes

Version change and minor bug fixes

parent 59aa8727
package:
name: resonate
version: "1.0.0"
version: "1.0.1"
source:
git_rev: master
......
......@@ -11,15 +11,18 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
import sys, os
from nbconvert import RSTExporter
import os
import sys
import nbformat
from nbconvert import RSTExporter
rst_exporter = RSTExporter()
for file in os.listdir("../py_notebooks"):
if file.endswith(".ipynb"):
rst, rest = rst_exporter.from_notebook_node(nbformat.read('../py_notebooks/'+file, as_version=4), wrap ='preserve')
f=open('../docs/notebooks/'+str(file)+'.rst', 'w')
rst, rest = rst_exporter.from_notebook_node(nbformat.read(
'../py_notebooks/' + file, as_version=4), wrap='preserve')
f = open('../docs/notebooks/' + str(file) + '.rst', 'w')
rst = rst.replace('raw-latex', 'math')
rst = rst.replace('$', '')
rst = rst.replace('ipython2', 'python')
......@@ -33,7 +36,8 @@ for file in os.listdir("../py_notebooks"):
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath('.')), 'resonate'))
sys.path.insert(0, os.path.join(
os.path.dirname(os.path.abspath('.')), 'resonate'))
def setup(app):
......@@ -72,9 +76,9 @@ copyright = u'2017 Ocean Tracking Network. All Rights Reserved.'
# built documents.
#
# The short X.Y version.
version = 'v1.0.0'
version = 'v1.0.1'
# The full version, including alpha/beta/rc tags.
release = 'v1.0.0'
release = 'v1.0.1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......@@ -147,7 +151,6 @@ html_favicon = '_static/favicon.ico'
html_static_path = ['_static']
# html_context = {
# 'css_files': [
# '_static/full_width_resonate.css', # override wide tables in RTD theme
......@@ -201,21 +204,21 @@ htmlhelp_basename = 'resonate-doc'
# -- Options for LaTeX output --------------------------------------------------
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
# The paper size ('letterpaper' or 'a4paper').
# 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',
# The font size ('10pt', '11pt' or '12pt').
# 'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#'preamble': '',
# Additional stuff for the LaTeX preamble.
# 'preamble': '',
}
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'resonate.tex', u'resonate Documentation',
u'Kenneth Reitz', 'manual'),
('index', 'resonate.tex', u'resonate Documentation',
u'Kenneth Reitz', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
......@@ -258,9 +261,9 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'resonate', u'resonate Documentation',
u'Kenneth Reitz', 'resonate', 'One line description of project.',
'Miscellaneous'),
('index', 'resonate', u'resonate Documentation',
u'Kenneth Reitz', 'resonate', 'One line description of project.',
'Miscellaneous'),
]
# Documents to append as an appendix to all manuals.
......
__author__ = "Alex Nunes"
__credits__ = ["Alex Nunes", "Jon Pye", "Brian Jones", "Marta Mihoff"]
__license__ = "GPL"
__version__ = "1.0.0"
__version__ = "1.0.1"
__maintainer__ = "Alex Nunes"
__email__ = "anunes@dal.ca"
__status__ = "Production"
......@@ -12,7 +12,7 @@ with open('LICENSE') as f:
setup(
name='resonATe',
version='1.0.0',
version='1.0.1',
description='resonate data analysis package',
long_description=readme,
author='Alex Nunes',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment