Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
6fc40cc3
Commit
6fc40cc3
authored
Apr 14, 2014
by
Andrew Scheller
Browse files
Options
Downloads
Patches
Plain Diff
pip-micropython: revert $HOME back to ~
parent
52247052
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/pip-micropython
+3
-3
3 additions, 3 deletions
tools/pip-micropython
with
3 additions
and
3 deletions
tools/pip-micropython
+
3
−
3
View file @
6fc40cc3
...
@@ -25,7 +25,7 @@ elif [ -n "$MICROPYPATH" ]; then
...
@@ -25,7 +25,7 @@ elif [ -n "$MICROPYPATH" ]; then
echo
"Destination library directory:
$libdest
"
echo
"Destination library directory:
$libdest
"
else
else
echo
"Warning: MICROPYPATH is not set, assuming default value"
echo
"Warning: MICROPYPATH is not set, assuming default value"
libdest
=
$HOME
/.micropython/lib
libdest
=
~
/.micropython/lib
echo
"Destination library directory:
$libdest
"
echo
"Destination library directory:
$libdest
"
fi
fi
...
@@ -71,9 +71,9 @@ pip install "$@" \
...
@@ -71,9 +71,9 @@ pip install "$@" \
--install-option
=
"--root=
$dest
"
--install-option
=
"--root=
$dest
"
else
else
# Here we assume that base dir is lib dir, and install scripts a level
# Here we assume that base dir is lib dir, and install scripts a level
# higher. For default value of
$HOME
/.micropython/lib/ , this should give
# higher. For default value of
~
/.micropython/lib/ , this should give
# reasonable behavior, though better would make it overridable (or
# reasonable behavior, though better would make it overridable (or
# go bold and use
$HOME
/bin ?)
# go bold and use
~
/bin ?)
pip
install
"
$@
"
\
pip
install
"
$@
"
\
--install-option
=
"--install-base=."
\
--install-option
=
"--install-base=."
\
--install-option
=
"--install-purelib=."
\
--install-option
=
"--install-purelib=."
\
...
...
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