Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NETDB Client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package 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
Insights
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
scc-net
netvs
NETDB Client
Commits
54762903
Commit
54762903
authored
3 years ago
by
Dominik Rimpf
Committed by
Janis Streib
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
UPD: lib version updated. docs fixed.
parent
5d359e4e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-2
2 additions, 2 deletions
README.md
setup.py
+3
-2
3 additions, 2 deletions
setup.py
with
5 additions
and
4 deletions
README.md
+
2
−
2
View file @
54762903
...
@@ -5,10 +5,10 @@ The existing config files can still be used, but the config option will be ignor
...
@@ -5,10 +5,10 @@ The existing config files can still be used, but the config option will be ignor
## Install
## Install
### Pre-Built (updated every night)
### Pre-Built (updated every night)
`pip install https://git.scc.kit.edu/scc-net/netvs/netdb-client-lib/-/jobs/artifacts/master/raw/dist/netdb_client-
1
.0-py3-none-any.whl?job=build`
`pip install https://git.scc.kit.edu/scc-net/netvs/netdb-client-lib/-/jobs/artifacts/master/raw/dist/netdb_client-
2
.0-py3-none-any.whl?job=build`
### Self-Built
### Self-Built
`
env NETDB_AUTH=<your API token>
pip install git+https://git.scc.kit.edu/scc-net/netvs/netdb-client-lib.git@master`
`pip install git+https://git.scc.kit.edu/scc-net/netvs/netdb-client-lib.git@master`
## Usage
## Usage
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
3
−
2
View file @
54762903
...
@@ -4,17 +4,18 @@ import subprocess
...
@@ -4,17 +4,18 @@ import subprocess
import
os
import
os
import
py_compile
import
py_compile
class
APIGenBuild
(
build_py
):
class
APIGenBuild
(
build_py
):
def
run
(
self
):
def
run
(
self
):
target_dir
=
os
.
path
.
join
(
self
.
build_lib
,
'
netdb_client
'
)
target_dir
=
os
.
path
.
join
(
self
.
build_lib
,
'
netdb_client
'
)
self
.
mkpath
(
target_dir
)
self
.
mkpath
(
target_dir
)
gen
=
subprocess
.
run
([
'
net-api-generator
'
,
'
python
'
,
'
--output-dir=
'
+
target_dir
],
check
=
True
)
gen
=
subprocess
.
run
([
'
net-api-generator
'
,
'
python
'
,
f
'
--output-dir=
{
target_dir
}
'
],
check
=
True
)
build_py
.
run
(
self
)
build_py
.
run
(
self
)
setup
(
setup
(
name
=
'
netdb_client
'
,
name
=
'
netdb_client
'
,
version
=
'
1
.0
'
,
version
=
'
2
.0
'
,
author
=
'
Dr. Meta
'
,
author
=
'
Dr. Meta
'
,
description
=
'
This is a meta package to install the automatically generated NET-API 3.0 definitions.
'
,
description
=
'
This is a meta package to install the automatically generated NET-API 3.0 definitions.
'
,
url
=
'
https://git.scc.kit.edu/scc-net/net-suite/netdb-client-lib
'
,
url
=
'
https://git.scc.kit.edu/scc-net/net-suite/netdb-client-lib
'
,
...
...
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