Skip to content

Commit 66a61c2

Browse files
author
Julian Blank
committed
VERSION 0.1.1
1 parent c3f8ec1 commit 66a61c2

File tree

5 files changed

+52
-181
lines changed

5 files changed

+52
-181
lines changed

docs/source/conf.py

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
#
2020
import os
2121
import sys
22+
2223
sys.path.insert(0, os.path.abspath('../..'))
2324

2425
from pysampling.version import __version__
2526

2627
# show doc
2728
autoclass_content = 'both'
2829

29-
3030
# -- General configuration ------------------------------------------------
3131

3232
# If your documentation needs a minimal Sphinx version, state it here.
@@ -37,11 +37,11 @@
3737
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3838
# ones.
3939
extensions = ['sphinx.ext.autodoc',
40-
'sphinx.ext.todo',
41-
'sphinxcontrib.bibtex',
42-
'sphinxcontrib.napoleon',
43-
'nbsphinx'
44-
]
40+
'sphinx.ext.todo',
41+
'sphinxcontrib.bibtex',
42+
'sphinxcontrib.napoleon',
43+
'nbsphinx'
44+
]
4545

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

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

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

90-
9190
# -- Options for HTML output ----------------------------------------------
9291

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

9695
# The theme to use for HTML and HTML Help pages. See the documentation for
9796
# a list of builtin themes.
98-
#html_theme = 'alabaster'
97+
# html_theme = 'alabaster'
9998
html_theme = 'sphinx_rtd_theme'
100-
99+
html_title = "pysampling"
101100

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

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

125-
126126
# -- Options for HTMLHelp output ------------------------------------------
127127

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

131-
132131
# -- Options for LaTeX output ---------------------------------------------
133132

134133
latex_elements = {
@@ -147,7 +146,7 @@
147146
# Latex figure (float) alignment
148147
#
149148
# 'figure_align': 'htbp',
150-
'extraclassoptions' : 'openany',
149+
'extraclassoptions': 'openany',
151150
}
152151

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

161-
162160
# -- Options for manual page output ---------------------------------------
163161

164162
# One entry per manual page. List of tuples
@@ -168,7 +166,6 @@
168166
[author], 1)
169167
]
170168

171-
172169
# -- Options for Texinfo output -------------------------------------------
173170

174171
# Grouping the document tree into Texinfo files. List of tuples
@@ -179,6 +176,3 @@
179176
author, 'pysampling', 'One line description of project.',
180177
'Miscellaneous'),
181178
]
182-
183-
184-

docs/source/index.ipynb

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# pysampling"
8+
]
9+
},
10+
{
11+
"cell_type": "raw",
12+
"metadata": {
13+
"raw_mimetype": "text/restructuredtext"
14+
},
15+
"source": [
16+
"\n",
17+
"\n",
18+
"\n",
19+
"\n",
20+
"|travis| |python| |license|\n",
21+
"\n",
22+
"\n",
23+
".. |travis| image:: https://travis-ci.com/julesy89/pysampling.svg?branch=master\n",
24+
" :alt: build status\n",
25+
" :target: https://travis-ci.com/msu-coinlab/pymoo\n",
26+
"\n",
27+
".. |python| image:: https://img.shields.io/badge/python-3.6-blue.svg\n",
28+
" :alt: python 3.6\n",
29+
"\n",
30+
".. |license| image:: https://img.shields.io/badge/license-apache-orange.svg\n",
31+
" :alt: license apache\n",
32+
" :target: https://www.apache.org/licenses/LICENSE-2.0\n",
33+
" \n",
34+
" \n",
35+
"https://github.com/julesy89/pysampling\n"
36+
]
37+
},
338
{
439
"cell_type": "markdown",
540
"metadata": {},

docs/source/index.rst

Lines changed: 0 additions & 153 deletions
This file was deleted.

pysampling/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.0"
1+
__version__ = "0.1.1"

setup.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from setuptools import setup, find_packages
1+
from setuptools import setup
2+
23
from pysampling.version import __version__
34

45
# ---------------------------------------------------------------------------------------------------------
@@ -42,19 +43,13 @@
4243
# OTHER METADATA
4344
# ---------------------------------------------------------------------------------------------------------
4445

45-
4646
def readme():
4747
with open('README.rst') as f:
4848
return f.read()
4949

5050

51-
def packages():
52-
return ["pysampling"] + ["pysampling." + e for e in find_packages(where='pysampling')]
53-
54-
5551
data['long_description'] = readme()
56-
data['packages'] = packages()
57-
52+
data['packages'] = ['pysampling', 'pysampling.algorithms', 'pysampling.resources']
5853

5954
# ---------------------------------------------------------------------------------------------------------
6055
# SETUP

0 commit comments

Comments
 (0)