Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-advanced-user-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
caosdb
Software
caosdb-advanced-user-tools
Commits
cf7db9c1
Verified
Commit
cf7db9c1
authored
2 years ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
WIP: Rename caosdb -> linkahead
parent
23ff7757
Branches
Branches containing commit
No related tags found
1 merge request
!79
MAINT: linkahead rename
Pipeline
#36693
failed
2 years ago
Stage: setup
Stage: cert
Stage: style
Stage: unittest
Stage: integrationtest
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.py
+10
-10
10 additions, 10 deletions
setup.py
with
10 additions
and
10 deletions
setup.py
+
10
−
10
View file @
cf7db9c1
...
...
@@ -2,7 +2,7 @@
# -*- encoding: utf-8 -*-
#
#
"""
caos
advancedtools
"""
"""
linkahead
advancedtools
"""
import
os
import
subprocess
import
sys
...
...
@@ -87,19 +87,19 @@ def git_version():
def
get_version_info
():
# Adding the git rev number needs to be done inside write_version_py(),
# otherwise the import of
caos
advancedtools.version messes up the build under
# otherwise the import of
linkahead
advancedtools.version messes up the build under
# Python 3.
FULLVERSION
=
VERSION
if
os
.
path
.
exists
(
'
.git
'
):
GIT_REVISION
=
git_version
()
elif
os
.
path
.
exists
(
'
src/
caos
advancedtools/version.py
'
):
elif
os
.
path
.
exists
(
'
src/
linkahead
advancedtools/version.py
'
):
# must be a source distribution, use existing version file
try
:
from
caos
advancedtools.version
import
git_revision
as
GIT_REVISION
from
linkahead
advancedtools.version
import
git_revision
as
GIT_REVISION
except
ImportError
:
raise
ImportError
(
"
Unable to import git_revision. Try removing
"
"
src/
caos
advancedtools/version.py and the build directory
"
"
src/
linkahead
advancedtools/version.py and the build directory
"
"
before building.
"
)
else
:
GIT_REVISION
=
"
Unknown
"
...
...
@@ -110,9 +110,9 @@ def get_version_info():
return
FULLVERSION
,
GIT_REVISION
def
write_version_py
(
filename
=
'
src/
caos
advancedtools/version.py
'
):
def
write_version_py
(
filename
=
'
src/
linkahead
advancedtools/version.py
'
):
cnt
=
"""
# THIS FILE IS GENERATED FROM
caos
advancedtools SETUP.PY
# THIS FILE IS GENERATED FROM
linkahead
advancedtools SETUP.PY
#
short_version =
'
%(version)s
'
version =
'
%(version)s
'
...
...
@@ -147,15 +147,15 @@ def setup_package():
write_version_py
()
metadata
=
dict
(
name
=
'
caos
advancedtools
'
,
name
=
'
linkahead
advancedtools
'
,
version
=
get_version_info
()[
0
],
description
=
'
a
dvanced utilities for
caosdb
'
,
description
=
'
A
dvanced utilities for
LinkAhead
'
,
long_description
=
long_description
,
long_description_content_type
=
"
text/markdown
"
,
author
=
'
Henrik tom Wörden
'
,
author_email
=
'
h.tomwoerden@indiscale.com
'
,
python_requires
=
'
>=3.7
'
,
install_requires
=
[
"
caosdb
>=0.11.0
"
,
install_requires
=
[
"
linkahead
>=0.11.0
"
,
"
jsonschema>=4.4.0
"
,
"
numpy>=1.17.3
"
,
"
openpyxl>=3.0.7
"
,
...
...
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