Skip to content

Commit

Permalink
dvc: remove dvc.py and fix bin/dvc*
Browse files Browse the repository at this point in the history
bin/dvc and bin/dvc.bat are convenience scripts that can call
dvc without dvc.py, as dvc package has __main__.py anyway.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
  • Loading branch information
efiop committed Jan 8, 2018
1 parent 0f92ae7 commit 3af6970
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bin/dvc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

PYTHONPATH=$DVC_HOME python $DVC_HOME/dvc.py $@
PYTHONPATH=$DVC_HOME python -m dvc $@
2 changes: 1 addition & 1 deletion bin/dvc.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo OFF
set PYTHONPATH=%DVC_HOME%
python %DVC_HOME%/dvc.py %*
python -m dvc %*
6 changes: 0 additions & 6 deletions dvc.py

This file was deleted.

0 comments on commit 3af6970

Please sign in to comment.