Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EO Time Series Viewer
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository 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
Benjamin Jakimow
EO Time Series Viewer
Commits
0d6d20e1
Commit
0d6d20e1
authored
11 years ago
by
Luke Campagnola
Browse files
Options
Downloads
Plain Diff
Merge branch 'deb_build' into develop
Minor setup corrections
parents
23779f00
ba00ce53
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
setup.py
+5
-0
5 additions, 0 deletions
setup.py
tools/setupHelpers.py
+12
-1
12 additions, 1 deletion
tools/setupHelpers.py
with
17 additions
and
1 deletion
setup.py
+
5
−
0
View file @
0d6d20e1
...
...
@@ -37,6 +37,11 @@ setupOpts = dict(
from
distutils.core
import
setup
import
distutils.dir_util
import
os
,
sys
,
re
try
:
# just avoids warning about install_requires
import
setuptools
except
ImportError
:
pass
path
=
os
.
path
.
split
(
__file__
)[
0
]
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
path
,
'
tools
'
))
...
...
This diff is collapsed.
Click to expand it.
tools/setupHelpers.py
+
12
−
1
View file @
0d6d20e1
import
os
,
sys
,
re
from
subprocess
import
check_output
try
:
from
subprocess
import
check_output
except
ImportError
:
import
subprocess
as
sp
def
check_output
(
*
args
,
**
kwds
):
kwds
[
'
stdout
'
]
=
sp
.
PIPE
proc
=
sp
.
Popen
(
*
args
,
**
kwds
)
output
=
proc
.
stdout
.
read
()
proc
.
wait
()
if
proc
.
returncode
!=
0
:
raise
Exception
(
"
Process had nonzero return value
"
,
proc
.
returncode
)
return
output
def
listAllPackages
(
pkgroot
):
path
=
os
.
getcwd
()
...
...
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