dvc: remove dvc.py and fix bin/dvc*

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]>
This commit is contained in:
Ruslan Kuprieiev
2018-01-08 12:19:34 +02:00
parent 0f92ae7dd5
commit 3af6970eeb
3 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
#!/bin/bash
PYTHONPATH=$DVC_HOME python $DVC_HOME/dvc.py $@
PYTHONPATH=$DVC_HOME python -m dvc $@
+1 -1
View File
@@ -1,3 +1,3 @@
@echo OFF
set PYTHONPATH=%DVC_HOME%
python %DVC_HOME%/dvc.py %*
python -m dvc %*
-6
View File
@@ -1,6 +0,0 @@
import sys
from dvc.main import main
if __name__ == "__main__":
main(sys.argv[1:])