-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 68019de
Showing
5 changed files
with
195 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
.metadata | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.settings/ | ||
.loadpath | ||
.recommenders | ||
.project | ||
.externalToolBuilders/ | ||
*.launch | ||
*.pydevproject | ||
.cproject | ||
.classpath | ||
.factorypath | ||
.buildpath | ||
.target | ||
.tern-project | ||
.texlipse | ||
.springBeans | ||
.recommenders/ | ||
.cache-main | ||
.scala_dependencies | ||
.worksheet | ||
[._]*.s[a-v][a-z] | ||
[._]*.sw[a-p] | ||
[._]s[a-v][a-z] | ||
[._]sw[a-p] | ||
Session.vim | ||
.netrwhist | ||
*~ | ||
tags | ||
/.tgitconfig | ||
*.tmlanguage.cache | ||
*.tmPreferences.cache | ||
*.stTheme.cache | ||
*.sublime-workspace | ||
sftp-config.json | ||
Package Control.last-run | ||
Package Control.ca-list | ||
Package Control.ca-bundle | ||
Package Control.system-ca-bundle | ||
Package Control.cache/ | ||
Package Control.ca-certs/ | ||
Package Control.merged-ca-bundle | ||
Package Control.user-ca-bundle | ||
oscrypto-ca-bundle.crt | ||
bh_unicode_properties.cache | ||
GitHub.sublime-settings | ||
*.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
Icon | ||
._* | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
.com.apple.timemachine.donotpresent | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
Thumbs.db | ||
ehthumbs.db | ||
ehthumbs_vista.db | ||
Desktop.ini | ||
$RECYCLE.BIN/ | ||
*.cab | ||
*.msi | ||
*.msm | ||
*.msp | ||
*.lnk | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
*.iws | ||
/out/ | ||
.idea_modules/ | ||
atlassian-ide-plugin.xml | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
fabric.properties | ||
.fuse_hidden* | ||
.directory | ||
.Trash-* | ||
.nfs* | ||
.idea | ||
*.iml | ||
out | ||
gen | ||
\#*\# | ||
/.emacs.desktop | ||
/.emacs.desktop.lock | ||
*.elc | ||
auto-save-list | ||
tramp | ||
.\#* | ||
.org-id-locations | ||
*_archive | ||
*_flymake.* | ||
/eshell/history | ||
/eshell/lastdir | ||
/elpa/ | ||
*.rel | ||
/auto/ | ||
.cask/ | ||
dist/ | ||
flycheck_*.el | ||
/server/ | ||
.projectile | ||
.dir-locals.el | ||
nbproject/private/ | ||
build/ | ||
nbbuild/ | ||
nbdist/ | ||
.nb-gradle/ | ||
DerivedData/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata/ | ||
*.moved-aside | ||
*.xccheckout | ||
*.xcscmblueprint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# History | ||
## 0.0.1 (Mar 3, 2017) | ||
* Initial public release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Copyright (c) 2017 Masaya SUZUKI <suzukimasaya428@gmail.com> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# pyenv-pip-update | ||
|
||
Update all libraries managed by pip. | ||
|
||
## Installation | ||
git clone https://github.com/massongit/pyenv-pip-update $(pyenv root)/plugins/pyenv-pip-update | ||
|
||
## Usage | ||
pyenv pip-update | ||
|
||
## History | ||
See [HISTORY.md](HISTORY.md) | ||
|
||
## License | ||
Copyright (c) 2017 Masaya SUZUKI <<suzukimasaya428@gmail.com>> | ||
|
||
Released under the [MIT license](LICENSE.txt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Summary: One line, short description of a pip-update | ||
# | ||
# Usage: pyenv pip-update | ||
# | ||
# Update all libraries managed by pip | ||
|
||
# If a one of commands return error, this script exit immediately | ||
set -e | ||
|
||
# If pyenv run with debug mode, this script run with debug mode too | ||
if [ -n "${PYENV_DEBUG}" ] | ||
then | ||
set -x | ||
fi | ||
|
||
if [ ${#} -eq 0 ] | ||
then # If no argument is given, update libraries using pip | ||
for v in $(ls $(pyenv root)/versions) | ||
do | ||
echo -e "\e[1;32mUpdating library of '${v}'...\e[m" | ||
PYENV_VERSION=${v} | ||
pip freeze --local | grep -v "^\-e" | cut -d = -f 1 | xargs pip install -U pip | ||
done | ||
else # If arguments are given, output the usage | ||
pyenv help --usage pip-update >&2 | ||
exit 1 | ||
fi |