Skip to content

Commit 9d751db

Browse files
author
HR
committed
cleanup
1 parent cb15d94 commit 9d751db

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

ghclone/__init__.py

Whitespace-only changes.

ghclone/__main__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# -*- coding: utf-8 -*-
2+
3+
from .ghclone import main
4+
main()
File renamed without changes.

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
version_regex = r'__version__ = ["\']([^"\']*)["\']'
11-
with open('ghclone.py',) as f:
11+
with open('ghclone/ghclone.py',) as f:
1212
text = f.read()
1313
match = re.search(version_regex, text)
1414

@@ -28,6 +28,7 @@ def local_file(name):
2828

2929
setup(
3030
name='ghclone',
31+
packages=['ghclone'],
3132
version=version,
3233
description='A script for cloning any sub-directories of any GitHub repository',
3334
long_description=long_description,
@@ -51,7 +52,7 @@ def local_file(name):
5152
],
5253
entry_points={
5354
'console_scripts': [
54-
'ghclone=ghclone:main',
55+
'ghclone=ghclone.ghclone:main',
5556
],
5657
},
5758
)

0 commit comments

Comments
 (0)