Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
trappy
Manage
Activity
Members
Labels
Plan
Issues
19
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tooling
trappy
Commits
ed309fa7
Commit
ed309fa7
authored
9 years ago
by
Kapileshwar Singh
Browse files
Options
Downloads
Plain Diff
Merge pull request #9 from JaviMerino/add_version
parents
76c19119
40a7dd64
Branches
Branches containing commit
Tags
v5.8-rc3
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
trappy/__init__.py
+6
-0
6 additions, 0 deletions
trappy/__init__.py
with
6 additions
and
0 deletions
trappy/__init__.py
+
6
−
0
View file @
ed309fa7
...
...
@@ -14,6 +14,7 @@
#
import
pkg_resources
from
trappy.compare_runs
import
summary_plots
,
compare_runs
from
trappy.run
import
Run
from
trappy.plotter.LinePlot
import
LinePlot
...
...
@@ -32,3 +33,8 @@ for fname in os.listdir(os.path.dirname(__file__)):
__import__
(
"
trappy.{}
"
.
format
(
import_name
))
del
fname
,
import_name
,
extension
try
:
__version__
=
pkg_resources
.
get_distribution
(
"
trappy
"
).
version
except
pkg_resources
.
DistributionNotFound
:
__version__
=
"
local
"
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment