Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
awesim-documentation
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gateways
awesim-documentation
Wiki
Python 2.7 Hello World App
Changes
Page history
New page
Templates
Clone repository
Updated Python 2.7 Hello World App (markdown)
authored
8 years ago
by
Eric Franz
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Python-2.7-Hello-World-App.md
+2
-5
2 additions, 5 deletions
Python-2.7-Hello-World-App.md
with
2 additions
and
5 deletions
Python-2.7-Hello-World-App.md
View page @
00ec4420
...
...
@@ -89,11 +89,8 @@ SCL_SOURCE=$(command -v scl_source)
[[
${
SCL_SOURCE
}
]]
&&
source
${
SCL_SOURCE
}
enable
${
SCL_PKGS
}
# cd is piped to /dev/null in case cd outputs to STDOUT
# BINDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )"
BINDIR
=
`
dirname
"
$(
readlink
-f
"
$0
"
)
"
`
APPROOT
=
`
dirname
"
$BINDIR
"
`
export
PYTHONPATH
=
$APPROOT
/.pip:
$PYTHONPATH
# $PWD is always application root in a Passenger App
export
PYTHONPATH
=
$PWD
/.pip:
$PYTHONPATH
exec
/bin/env python
"
$@
"
```
...
...
This diff is collapsed.
Click to expand it.