Skip to content

Commit

Permalink
Strengthing build system
Browse files Browse the repository at this point in the history
and docs system
  • Loading branch information
svenk committed Jul 11, 2024
1 parent aa91ceb commit 0b42eed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# for sphinx
sphinx-rtd-theme
#sphinxcontrib-programoutput
#recommonmark
#nbsphinx
#ipython
#sphinxcontrib-svg2pdfconverter
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def get_version():
#build = exec("git rev-parse --short HEAD") # something like "1f61552"
#return f"{ver}+g{build}"
return ver
except FileNotFoundError: # no git installed
except (subprocess.CalledProcessError, FileNotFoundError): # no git installed
return "v0.0.0+N/A-without-git"

setuptools.setup(
Expand Down

0 comments on commit 0b42eed

Please sign in to comment.