Skip to content

Commit

Permalink
Merge pull request #19 from unfor19/feature-main-py
Browse files Browse the repository at this point in the history
__main__.py instead of main.py
  • Loading branch information
unfor19 authored Oct 10, 2020
2 parents 136c735 + a90f55d commit bf1ddf5
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
**
!./test_functionality.sh
!./setup.*
!./main.py
!./README.md
!./LICENSE
!./version
Expand Down
Empty file added githubsecrets/__init__.py
Empty file.
4 changes: 4 additions & 0 deletions githubsecrets/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .ghs import cli

if __name__ == '__main__':
cli()
File renamed without changes.
4 changes: 0 additions & 4 deletions main.py

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
],
entry_points='''
[console_scripts]
ghs=githubsecrets.cli:cli
ghs=githubsecrets.ghs:cli
''',
setup_requires=[
'setuptools>=44.1.0',
Expand Down

0 comments on commit bf1ddf5

Please sign in to comment.