File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def clone_repo(command):
62
62
Clone a repository and install it into a virtual environment.
63
63
"""
64
64
process = Popen (
65
- shlex .split (command ), stdout = PIPE , universal_newlines = "utf-8"
65
+ shlex .split (command ), stdout = PIPE , universal_newlines = True
66
66
)
67
67
while True :
68
68
output = process .stdout .readline ()
@@ -138,7 +138,7 @@ def create_venv(
138
138
res = Popen (
139
139
["bash" , "-c" , script ],
140
140
stdout = PIPE ,
141
- universal_newlines = "utf-8"
141
+ universal_newlines = True
142
142
)
143
143
out , _ = res .communicate ()
144
144
output = out .strip ()
Original file line number Diff line number Diff line change 11
11
from dataclasses import dataclass
12
12
13
13
14
- __version__ = "0.2.17 "
14
+ __version__ = "0.2.18 "
15
15
16
16
CFG_DIR = os .path .expanduser ("~/.venvipy" )
17
17
DB_FILE = os .path .expanduser ("~/.venvipy/py-installs" )
@@ -71,7 +71,7 @@ def get_python_version(py_path):
71
71
res = Popen (
72
72
[py_path , "-V" ],
73
73
stdout = PIPE ,
74
- universal_newlines = "utf-8"
74
+ universal_newlines = True
75
75
)
76
76
out , _ = res .communicate ()
77
77
python_version = out .strip ()
@@ -291,9 +291,3 @@ def get_package_infos(name):
291
291
package_info_list .append (pkg_info )
292
292
293
293
return package_info_list [::- 1 ]
294
-
295
-
296
-
297
- if __name__ == "__main__" :
298
-
299
- get_python_installs ()
You can’t perform that action at this time.
0 commit comments