Skip to content

Commit

Permalink
Merge pull request #35 from INM-6/bug/fix_doc_api_reference
Browse files Browse the repository at this point in the history
Documentation: insert paths in config file, future package and use py…
  • Loading branch information
mschmidt87 authored Apr 19, 2018
2 parents 26b4d2e + 83b4208 commit 186aebe
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dicthash/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
dicthash
========
Conveniently generate portable md5 hashes from (arbitrarily nested)
Generate portable md5 hashes from (arbitrarily nested)
dictionaries. These dictionaries can contain arbitrary Python and
NumPy data types. The goal of the module is to provide a hash function
that can be safely used across different platforms. Its main use is to
generate unique identifiers for parameter dictionaries used in
parameter scans of neural network simulations.
It exposes just a single function to the user `dicthash.generate_hash_from_dict`.
It exposes a single function to the user `dicthash.generate_hash_from_dict`.
"""

Expand Down
2 changes: 2 additions & 0 deletions doc/.readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python:
setup_py_install: true
8 changes: 5 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
# 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.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import os
import sys
sys.path.insert(0, os.path.abspath('../'))
sys.path.insert(0, os.path.abspath('../dicthash'))


# -- General configuration ------------------------------------------------
Expand All @@ -34,6 +35,7 @@
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.coverage',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode']

# Add any paths that contain templates here, relative to this directory.
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
keywords='hashing hash',
url='https://github.com/INM-6/python-dicthash',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4',
install_requires=['future'],
packages=['dicthash'],
long_description=open('README.md').read(),
classifiers=[
Expand Down

0 comments on commit 186aebe

Please sign in to comment.