Custom config

This commit is contained in:
Lucidiot 2018-10-25 17:48:38 +02:00
parent 6d2ed57526
commit 18f48f0edb
No known key found for this signature in database
GPG Key ID: AE3F7205692FA205
3 changed files with 8 additions and 7 deletions

1
VERSION Normal file
View File

@ -0,0 +1 @@
0.1.0

View File

@ -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 -------------------------------------------------
# -- Extension configuration -------------------------------------------------

View File

@ -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"]),