diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/build/lib/gitacc/__init__.py b/build/lib/gitacc/__init__.py index ac4bc11..1d56eb2 100644 --- a/build/lib/gitacc/__init__.py +++ b/build/lib/gitacc/__init__.py @@ -15,9 +15,11 @@ def acc(): print('正在使用git加速器clone') target_path = os.getcwd() - + if len(sys.argv)!=3: + print('参数错误,请使用gitacc clone') + cmd=sys.argv[1] if len(sys.argv)==3 and cmd=='clone': - cmd=sys.argv[1] + # print(cmd) repo=sys.argv[2] repoacc=repo.replace('github.com','github.com.cnpmjs.org') diff --git a/dist/gitacc-0.1-py2.py3-none-any.whl b/dist/gitacc-0.1-py2.py3-none-any.whl deleted file mode 100644 index 117d028..0000000 Binary files a/dist/gitacc-0.1-py2.py3-none-any.whl and /dev/null differ diff --git a/dist/gitacc-0.1-py3.6.egg b/dist/gitacc-0.1-py3.6.egg deleted file mode 100644 index 0da1824..0000000 Binary files a/dist/gitacc-0.1-py3.6.egg and /dev/null differ diff --git a/dist/gitacc-0.2-py2.py3-none-any.whl b/dist/gitacc-0.2-py2.py3-none-any.whl new file mode 100644 index 0000000..0fea5a7 Binary files /dev/null and b/dist/gitacc-0.2-py2.py3-none-any.whl differ diff --git a/gitacc.egg-info/PKG-INFO b/gitacc.egg-info/PKG-INFO old mode 100644 new mode 100755 index 1848616..1bae02e --- a/gitacc.egg-info/PKG-INFO +++ b/gitacc.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: gitacc -Version: 0.1 +Version: 0.2 Summary: UNKNOWN Home-page: UNKNOWN Author: UNKNOWN diff --git a/gitacc.egg-info/SOURCES.txt b/gitacc.egg-info/SOURCES.txt old mode 100644 new mode 100755 diff --git a/gitacc.egg-info/dependency_links.txt b/gitacc.egg-info/dependency_links.txt old mode 100644 new mode 100755 diff --git a/gitacc.egg-info/entry_points.txt b/gitacc.egg-info/entry_points.txt old mode 100644 new mode 100755 diff --git a/gitacc.egg-info/top_level.txt b/gitacc.egg-info/top_level.txt old mode 100644 new mode 100755 diff --git a/gitacc/__init__.py b/gitacc/__init__.py old mode 100644 new mode 100755 index ac4bc11..1d56eb2 --- a/gitacc/__init__.py +++ b/gitacc/__init__.py @@ -15,9 +15,11 @@ def acc(): print('正在使用git加速器clone') target_path = os.getcwd() - + if len(sys.argv)!=3: + print('参数错误,请使用gitacc clone') + cmd=sys.argv[1] if len(sys.argv)==3 and cmd=='clone': - cmd=sys.argv[1] + # print(cmd) repo=sys.argv[2] repoacc=repo.replace('github.com','github.com.cnpmjs.org') diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index d179405..45eaa80 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import find_packages,setup setup( name = 'gitacc', - version = '0.1', + version = '0.2', packages = find_packages(), entry_points={ 'console_scripts':[