Skip to content

Commit deb95f9

Browse files
committed
fix(pypi deploy): errors during deploy structure
1 parent fa5ae98 commit deb95f9

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ htmlcov/
77
.coverage
88
.pytest_cache/
99
venv/
10+
*.egg-info/

commit_helper/__main__.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ def main(debug_mode=False):
8585
parser.print_help()
8686

8787

88-
if __name__ == '__main__':
89-
parser = parser_cli()
90-
args = parser.parse_args()
91-
debug('args variable', args, args.debug)
92-
main(args.debug)
88+
parser = parser_cli()
89+
args = parser.parse_args()
90+
debug('args variable', args, args.debug)
91+
main(args.debug)

install.sh

100644100755
File mode changed.

setup.py

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
from setuptools import setup
22

3-
setup(
4-
name = 'commit-helper',
5-
version = '3.0.0',
6-
packages = ['commit_helper'],
7-
entry_points = {
3+
setup( # pragma: no cover
4+
name='commit-helper',
5+
version='3.0.0',
6+
packages=['commit_helper'],
7+
entry_points={
88
'console_scripts': [
99
'commit = commit_helper.__main__:main'
1010
]
11-
}
11+
},
12+
install_requires=[
13+
'pyyaml',
14+
'argparse',
15+
],
1216
)

0 commit comments

Comments
 (0)