Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
36
Issue boards
Milestones
Wiki
Code
Merge requests
8
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rdm-software
SaQC
Merge requests
!715
setup versioneer
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
setup versioneer
versioneer
into
develop
Overview
0
Commits
2
Pipelines
2
Changes
7
Merged
Bert Palm
requested to merge
versioneer
into
develop
1 year ago
Overview
0
Commits
2
Pipelines
2
Changes
1
Expand
use
versioneer
as versioning tool
👍
0
👎
0
Merge request reports
Viewing commit
032a815a
Prev
Next
Show latest version
1 file
+
8
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
032a815a
fixed version read in docs
· 032a815a
Bert Palm
authored
1 year ago
docs/conf.py
+
8
−
5
Options
@@ -24,11 +24,14 @@ package_path = os.path.abspath("..")
os
.
environ
[
"
PYTHONPATH
"
]
=
"
:
"
.
join
((
package_path
,
os
.
environ
.
get
(
"
PYTHONPATH
"
,
""
)))
# ---------- Version string --------------------------------------------------
# read the version string without importing it
vdict
=
{}
with
open
(
"
../saqc/version.py
"
)
as
f
:
exec
(
f
.
read
(),
vdict
)
version
=
vdict
[
"
__version__
"
]
# TODO: what for we need `version` and the `release` variables for ?
# import saqc for versioning, but prevent plots to pop up
# by setting mpl backend to non-interactive
import
saqc.funcs
version
=
saqc
.
__version__
saqc
.
funcs
.
tools
.
_MPL_DEFAULT_BACKEND
=
"
Agg
"
# -- Customize logging -------------------------------------------------------
Loading