Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
scc-net
netvs
netdb-client-lib
Commits
e21866ae
Commit
e21866ae
authored
Sep 23, 2020
by
janis.streib
🦉
Browse files
UPD: better lib name
parent
614c4552
Changes
2
Hide whitespace changes
Inline
Side-by-side
netdb_client
_lib
/__init__.py
→
netdb_client/__init__.py
View file @
e21866ae
File moved
setup.py
View file @
e21866ae
...
...
@@ -8,7 +8,7 @@ class APIGenBuild(build_py):
def
run
(
self
):
gen
=
subprocess
.
run
([
'net-api-generator'
,
'python'
],
check
=
True
,
capture_output
=
True
)
if
not
self
.
dry_run
:
target_dir
=
os
.
path
.
join
(
self
.
build_lib
,
'netdb_client
_lib
'
)
target_dir
=
os
.
path
.
join
(
self
.
build_lib
,
'netdb_client'
)
self
.
mkpath
(
target_dir
)
with
open
(
os
.
path
.
join
(
target_dir
,
'model.py'
),
'wb'
)
as
fobj
:
...
...
@@ -18,13 +18,13 @@ class APIGenBuild(build_py):
setup
(
name
=
'netdb_client
_lib
'
,
name
=
'netdb_client'
,
version
=
'1.0'
,
author
=
'Dr. Meta'
,
description
=
'This is a meta package to install the automatically generated NET-API 3.0 definitions.'
,
install_requires
=
[
'net_api_generator @ git+https://git.scc.kit.edu/scc-net/net-suite/api-generator.git@master'
],
setup_requires
=
[
'net_api_generator @ git+https://git.scc.kit.edu/scc-net/net-suite/api-generator.git@master'
],
packages
=
[
'netdb_client
_lib
'
],
packages
=
[
'netdb_client'
],
cmdclass
=
{
'build_py'
:
APIGenBuild
}
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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