PK ! 0Y Y
pipexec.pyimport subprocess
from cleo import Command
class PipExec(Command):
"""
Test a pip package
pipexec
{package? : The package name to test}
"""
def handle(self):
package = self.argument('package')
self.line(f'Starting your {package} shell...')
subprocess.call(['python3', '-m', 'venv', '.venv'])
subprocess.call(['/bin/sh', '.venv/bin/activate'])
subprocess.call(['pip', 'install', f'{package}'])
subprocess.call(['python3'])
subprocess.call(['rm', '-rf', '.venv'])
self.line('Bye!')
PK !H Jy* . ( pipexec-0.1.6.dist-info/entry_points.txtN+I/N.,()*O-)-,HHMJ,(Ѓ PK ! ߿2, , pipexec-0.1.6.dist-info/LICENSEMIT License
Copyright (c) 2018 Amos Omondi
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.
PK !HW X pipexec-0.1.6.dist-info/WHEEL
A
н#Z."jm)Afb~ڠO68oF04UhoAf
f4=4h0k::wXPK !HB3$8 pipexec-0.1.6.dist-info/METADATAR]O0}ﯸ%4BBA"ua)va|ao=6=kGhЊ3'ɅJ耎ɮۚA7"0|T"?k%F&\1{oR}Fs-c.tƯDzY2
lV /r-h[21iڇɈ&w[0=2?rĻ3n 3cĢ9-Dz\JJXqUVIH]4uӻΎΎqgG<nC1)Mn]np\+GYmB=<|w("֠HPK !HN-M# pipexec-0.1.6.dist-info/RECORDuKr0 нg4(\t*jt
B*NE% <X#hh#P/Sbx~}'pޛRK,
luYgGZw1MYw
_*c<arͼT~jjc1LoI>Z@BԌ+5kNۭ{mϡPVSW+&GO~KD;e^%.wwe[cT*sv!t|:v73jauKzvj87+P (6PK ! 0Y Y
pipexec.pyPK !H Jy* . ( pipexec-0.1.6.dist-info/entry_points.txtPK ! ߿2, , pipexec-0.1.6.dist-info/LICENSEPK !HW X Z pipexec-0.1.6.dist-info/WHEELPK !HB3$8 pipexec-0.1.6.dist-info/METADATAPK !HN-M# b pipexec-0.1.6.dist-info/RECORDPK