Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-api
Commits
cd6da6cc
Commit
cd6da6cc
authored
Dec 08, 2023
by
Wei Shoulin
Browse files
fix ver
parent
4c386d41
Changes
2
Hide whitespace changes
Inline
Side-by-side
setup.cfg
View file @
cd6da6cc
...
@@ -9,8 +9,8 @@ keywords = astronomy, astrophysics, cosmology, space, CSST
...
@@ -9,8 +9,8 @@ keywords = astronomy, astrophysics, cosmology, space, CSST
url = https://csst-tb.bao.ac.cn/code/csst-dfs/csst-dfs-api
url = https://csst-tb.bao.ac.cn/code/csst-dfs/csst-dfs-api
[bumpver]
[bumpver]
current_version = "1.0.1"
current_version = "1.0.1
.2023-12.1
"
version_pattern = "MAJOR.MINOR.PATCH
[PYTAGNUM]
"
version_pattern = "MAJOR.MINOR.PATCH
-YYYY-MM.INC0
"
commit_message = "Release {new_version}"
commit_message = "Release {new_version}"
commit = True
commit = True
tag = True
tag = True
...
...
setup.py
View file @
cd6da6cc
...
@@ -36,15 +36,15 @@ def requirements():
...
@@ -36,15 +36,15 @@ def requirements():
]
]
def
version
():
def
version
():
version
=
{}
__
version
=
{}
VERSION_PATH
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"csst_dfs_api"
,
"version.py"
)
version_path
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"csst_dfs_api"
,
"version.py"
)
with
open
(
VERSION_PATH
,
"r"
)
as
file
:
with
open
(
version_path
,
"r"
)
as
file
:
exec
(
file
.
read
(),
version
)
exec
(
file
.
read
(),
__
version
)
return
version
return
__
version
[
"__version__"
]
setup
(
setup
(
name
=
"csst_dfs_api"
,
name
=
"csst_dfs_api"
,
version
=
version
[
"__version__"
]
,
version
=
version
()
,
description
=
"API's to access CSST Data Flow System (DFS)"
,
description
=
"API's to access CSST Data Flow System (DFS)"
,
long_description
=
open
(
'README.md'
).
read
(),
long_description
=
open
(
'README.md'
).
read
(),
license
=
"MIT"
,
license
=
"MIT"
,
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment