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
410db9b3
Commit
410db9b3
authored
Sep 23, 2020
by
janis.streib
🦉
Browse files
UPD: moved contents to __init__
parent
e21866ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
410db9b3
...
...
@@ -11,9 +11,9 @@ class APIGenBuild(build_py):
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
:
with
open
(
os
.
path
.
join
(
target_dir
,
'
__init__
.py'
),
'wb'
)
as
fobj
:
fobj
.
write
(
gen
.
stdout
)
py_compile
.
compile
(
os
.
path
.
join
(
target_dir
,
'
model
.py'
))
py_compile
.
compile
(
os
.
path
.
join
(
target_dir
,
'
__init__
.py'
))
build_py
.
run
(
self
)
...
...
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