diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..6e8bf73 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.1.0 diff --git a/docs/conf.py b/docs/conf.py index dd80a06..f1ae248 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,9 +12,9 @@ # 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('..')) # -- Project information ----------------------------------------------------- @@ -26,7 +26,7 @@ author = 'Lucidiot and contributors' # The short X.Y version version = '' # The full version, including alpha/beta/rc tags -release = '0.1.0' +release = open('../VERSION').read().strip() # -- General configuration --------------------------------------------------- @@ -69,7 +69,7 @@ language = None exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # The name of the Pygments (syntax highlighting) style to use. -pygments_style = None +pygments_style = 'default' # -- Options for HTML output ------------------------------------------------- @@ -176,4 +176,4 @@ epub_title = project epub_exclude_files = ['search.html'] -# -- Extension configuration ------------------------------------------------- \ No newline at end of file +# -- Extension configuration ------------------------------------------------- diff --git a/setup.py b/setup.py index 3449578..e2622e6 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def read_requirements(filename): setup( name='pyurbantz', - version='0.1.0', + version=open('VERSION').read().strip(), author='Lucidiot', packages=find_packages( exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),