Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ess-python-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESS Beam Physics
ess-python-tools
Commits
fd025fc2
Commit
fd025fc2
authored
6 years ago
by
Yngve Levinsen
Browse files
Options
Downloads
Patches
Plain Diff
a cleaner way to define version
parent
d25833c8
No related branches found
No related tags found
No related merge requests found
Pipeline
#5842
failed
6 years ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/conf.py
+3
-2
3 additions, 2 deletions
doc/conf.py
ess/__init__.py
+1
-0
1 addition, 0 deletions
ess/__init__.py
setup.py
+2
-1
2 additions, 1 deletion
setup.py
with
6 additions
and
3 deletions
doc/conf.py
+
3
−
2
View file @
fd025fc2
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
#
#
import
os
import
os
import
sys
import
sys
from
ess
import
__version__
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'
../
'
))
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'
../
'
))
# -- General configuration ------------------------------------------------
# -- General configuration ------------------------------------------------
...
@@ -67,9 +68,9 @@ author = 'Ryoichi Miyamoto, Yngve Levinsen, Mamad Eshraqi'
...
@@ -67,9 +68,9 @@ author = 'Ryoichi Miyamoto, Yngve Levinsen, Mamad Eshraqi'
# built documents.
# built documents.
#
#
# The short X.Y version.
# The short X.Y version.
version
=
'
2
'
version
=
__version__
# The full version, including alpha/beta/rc tags.
# The full version, including alpha/beta/rc tags.
release
=
'
2.2
'
release
=
version
# The language for content autogenerated by Sphinx. Refer to documentation
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# for a list of supported languages.
...
...
This diff is collapsed.
Click to expand it.
ess/__init__.py
+
1
−
0
View file @
fd025fc2
__all__
=
[
"
fieldmap
"
,
"
installed
"
,
"
lib_tw
"
,
"
SP_Relativity
"
,
"
TraceWin
"
"
TTF
"
]
__all__
=
[
"
fieldmap
"
,
"
installed
"
,
"
lib_tw
"
,
"
SP_Relativity
"
,
"
TraceWin
"
"
TTF
"
]
__version__
=
'
2.2
'
from
.
import
TraceWin
from
.
import
TraceWin
from
.
import
installed
from
.
import
installed
from
.
import
lib_tw
from
.
import
lib_tw
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
1
View file @
fd025fc2
from
distutils.core
import
setup
from
distutils.core
import
setup
from
ess
import
__version__
setup
(
name
=
'
ESS Python Tools
'
,
setup
(
name
=
'
ESS Python Tools
'
,
version
=
'
2.2
'
,
version
=
__version__
,
description
=
'
ESS Related Tools for Python
'
,
description
=
'
ESS Related Tools for Python
'
,
url
=
'
http://ess-bp.pages.esss.lu.se/ess-python-tools
'
,
url
=
'
http://ess-bp.pages.esss.lu.se/ess-python-tools
'
,
author
=
'
Yngve Levinsen
'
,
author
=
'
Yngve Levinsen
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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