Skip to content

Commit

Permalink
VERSION 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Blank committed Aug 20, 2019
1 parent c3f8ec1 commit 66a61c2
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 181 deletions.
32 changes: 13 additions & 19 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
#
import os
import sys

sys.path.insert(0, os.path.abspath('../..'))

from pysampling.version import __version__

# show doc
autoclass_content = 'both'


# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand All @@ -37,11 +37,11 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.todo',
'sphinxcontrib.bibtex',
'sphinxcontrib.napoleon',
'nbsphinx'
]
'sphinx.ext.todo',
'sphinxcontrib.bibtex',
'sphinxcontrib.napoleon',
'nbsphinx'
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down Expand Up @@ -79,31 +79,32 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = []
exclude_patterns = ['**.ipynb_checkpoints']

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True


# -- Options for HTML output ----------------------------------------------

# distable or enable dependent on where the build will be used
# html_baseurl=''

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#html_theme = 'alabaster'
# html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'

html_title = "pysampling"

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
html_theme_options = dict(
github_url="https://github.com/julesy89/pysampling"
)

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand All @@ -122,13 +123,11 @@
]
}


# -- Options for HTMLHelp output ------------------------------------------

# Output file base name for HTML help builder.
htmlhelp_basename = 'pysamplingdoc'


# -- Options for LaTeX output ---------------------------------------------

latex_elements = {
Expand All @@ -147,7 +146,7 @@
# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
'extraclassoptions' : 'openany',
'extraclassoptions': 'openany',
}

# Grouping the document tree into LaTeX files. List of tuples
Expand All @@ -158,7 +157,6 @@
'Julian Blank', 'howto'),
]


# -- Options for manual page output ---------------------------------------

# One entry per manual page. List of tuples
Expand All @@ -168,7 +166,6 @@
[author], 1)
]


# -- Options for Texinfo output -------------------------------------------

# Grouping the document tree into Texinfo files. List of tuples
Expand All @@ -179,6 +176,3 @@
author, 'pysampling', 'One line description of project.',
'Miscellaneous'),
]



35 changes: 35 additions & 0 deletions docs/source/index.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# pysampling"
]
},
{
"cell_type": "raw",
"metadata": {
"raw_mimetype": "text/restructuredtext"
},
"source": [
"\n",
"\n",
"\n",
"\n",
"|travis| |python| |license|\n",
"\n",
"\n",
".. |travis| image:: https://travis-ci.com/julesy89/pysampling.svg?branch=master\n",
" :alt: build status\n",
" :target: https://travis-ci.com/msu-coinlab/pymoo\n",
"\n",
".. |python| image:: https://img.shields.io/badge/python-3.6-blue.svg\n",
" :alt: python 3.6\n",
"\n",
".. |license| image:: https://img.shields.io/badge/license-apache-orange.svg\n",
" :alt: license apache\n",
" :target: https://www.apache.org/licenses/LICENSE-2.0\n",
" \n",
" \n",
"https://github.com/julesy89/pysampling\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
153 changes: 0 additions & 153 deletions docs/source/index.rst

This file was deleted.

2 changes: 1 addition & 1 deletion pysampling/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0"
__version__ = "0.1.1"
11 changes: 3 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from setuptools import setup, find_packages
from setuptools import setup

from pysampling.version import __version__

# ---------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -42,19 +43,13 @@
# OTHER METADATA
# ---------------------------------------------------------------------------------------------------------


def readme():
with open('README.rst') as f:
return f.read()


def packages():
return ["pysampling"] + ["pysampling." + e for e in find_packages(where='pysampling')]


data['long_description'] = readme()
data['packages'] = packages()

data['packages'] = ['pysampling', 'pysampling.algorithms', 'pysampling.resources']

# ---------------------------------------------------------------------------------------------------------
# SETUP
Expand Down

0 comments on commit 66a61c2

Please sign in to comment.