Skip to content

Commit 01555bc

Browse files
committed
change path to store bin
1 parent 4c40d60 commit 01555bc

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

pspy_installer/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from pathlib import Path
2+
out_path = Path('~/.pspy/bin').expanduser()

pspy_installer/install_binary.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
import requests
55
import zipfile
66
import stat
7-
from pathlib import Path
7+
from pspy_installer.common import out_path
88
from distutils.util import get_platform
99

1010
tag = re.compile('refs/tags/v(\S+)')
11-
out_path = Path('~/.local/bin').expanduser()
11+
1212

1313

1414
def make_executable(cmd_path):

pspy_installer/proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from pathlib import Path
22
from subprocess import call
3+
from pspy_installer.common import out_path
34
import sys
4-
out_path = Path('~/.local/bin').expanduser()
55

66

77
def main():

0 commit comments

Comments
 (0)