We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb15d94 commit 9d751dbCopy full SHA for 9d751db
4 files changed
ghclone/__init__.py
ghclone/__main__.py
@@ -0,0 +1,4 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+from .ghclone import main
4
+main()
ghclone.py ghclone/ghclone.pyghclone.py renamed to ghclone/ghclone.py
setup.py
@@ -8,7 +8,7 @@
8
9
10
version_regex = r'__version__ = ["\']([^"\']*)["\']'
11
-with open('ghclone.py',) as f:
+with open('ghclone/ghclone.py',) as f:
12
text = f.read()
13
match = re.search(version_regex, text)
14
@@ -28,6 +28,7 @@ def local_file(name):
28
29
setup(
30
name='ghclone',
31
+ packages=['ghclone'],
32
version=version,
33
description='A script for cloning any sub-directories of any GitHub repository',
34
long_description=long_description,
@@ -51,7 +52,7 @@ def local_file(name):
51
52
],
53
entry_points={
54
'console_scripts': [
- 'ghclone=ghclone:main',
55
+ 'ghclone=ghclone.ghclone:main',
56
57
},
58
)
0 commit comments