Skip to content

Commit

Permalink
fix entry points
Browse files Browse the repository at this point in the history
  • Loading branch information
seankmartin committed Dec 8, 2022
1 parent 5fa887f commit 7642c02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ def read(fname):

ENTRY_POINTS = {
"console_scripts": [
"pdf-merge = skm_pyutils.py_pdf:cli_entry",
"dir-list = skm_pyutils.py_path:cli_entry",
"copy-files = skm_pyutils.py_path:cli_copy_files_in_dir",
"pdf-merge = skm_pyutils.pdf:cli_entry",
"dir-list = skm_pyutils.path:cli_entry",
"copy-files = skm_pyutils.path:cli_copy_files_in_dir",
]
}

Expand Down
2 changes: 1 addition & 1 deletion skm_pyutils/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def cli_copy_files_in_dir():

os.makedirs(parsed.output_directory, exist_ok=True)
for fname in files:
output_loc = os.path.join(parsed.output_directory, fname)
output_loc = os.path.join(parsed.output_directory, fname.replace(os.sep, "--"))
input_loc = os.path.join(parsed.input_directory, fname)
if parsed.move:
shutil.move(input_loc, output_loc)
Expand Down

0 comments on commit 7642c02

Please sign in to comment.