Skip to content

Commit

Permalink
Test commit for checking [1]
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavoiu committed May 6, 2019
1 parent b29b41d commit 4ded1f6
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: PostProcessing/doc/src/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: PostProcessing/doc/src/requirements.txt
- method: pip
path: PostProcessing
1 change: 1 addition & 0 deletions PostProcessing/doc/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sphinx_bootstrap_theme
7 changes: 5 additions & 2 deletions PostProcessing/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ def get_version():
'''try to determine version via git'''
try:
# is git available?
subprocess.call('git', stdout=subprocess.PIPE)
subprocess.call('git status', stdout=subprocess.PIPE)
except IOError:
# 'git' not available
version = "dev" # the short X.Y version.
version = "dev"
except subprocess.CalledProcessError:
# not a 'git' repo
version = "dev"
else:
# 'git' found -> get release from git

Expand Down

0 comments on commit 4ded1f6

Please sign in to comment.