Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KM3BUU
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
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
simulation
KM3BUU
Commits
b44cad56
Commit
b44cad56
authored
5 years ago
by
Johannes Schumann
Browse files
Options
Downloads
Patches
Plain Diff
Removed spython deps from setup.py
parent
8dfda820
No related branches found
No related tags found
1 merge request
!1
Merge python environment
Pipeline
#8673
failed
5 years ago
Stage: test
Stage: coverage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.py
+10
-5
10 additions, 5 deletions
setup.py
with
10 additions
and
5 deletions
setup.py
+
10
−
5
View file @
b44cad56
...
...
@@ -5,12 +5,13 @@
KM3BUU setup script.
"""
import
os
import
tempfile
from
os.path
import
dirname
from
setuptools
import
setup
,
find_packages
from
setuptools.command.install
import
install
from
setuptools.command.develop
import
develop
from
setuptools.command.egg_info
import
egg_info
from
spython.main
import
Client
PACKAGE_NAME
=
'
km3buu
'
URL
=
'
https://git.km3net.de/simulation/km3buu
'
...
...
@@ -23,9 +24,13 @@ with open('requirements.txt') as fobj:
def
_build_image
():
docker_url
=
"
docker://docker.km3net.de/simulation/km3buu
"
image_name
=
"
GiBUU.simg
"
Client
.
pull
(
docker_url
,
name
=
image_name
)
ofile
=
tempfile
.
TemporaryFile
()
retval
=
os
.
system
(
"
cd %s; make buildremote > %s
"
%
(
dirname
(
__file__
),
ofile
.
name
))
if
retval
!=
0
:
with
open
(
ofile
.
name
,
'
r
'
)
as
f
:
msg
=
f
.
read
()
raise
EnvironmentError
(
msg
)
class
CustomInstallCmd
(
install
):
...
...
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