Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ./checkin.py into an entrypoint #71

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
black setup.py
  • Loading branch information
lockefox committed Aug 18, 2021
commit 2fffa6f8861701972770799bca6a81c9804bd4e8
16 changes: 4 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
__library_name__ = "southwest"
__here__ = Path(__file__).resolve().parent

with open(__here__/"README.md", "rb") as f:
with open(__here__ / "README.md", "rb") as f:
__readme__ = f.read()

with open(__here__/__library_name__/"VERSION", "r") as f:
with open(__here__ / __library_name__ / "VERSION", "r") as f:
__version__ = f.read().strip()


Expand All @@ -36,18 +36,10 @@
"vcrpy",
],
extras_require={
"dev": [
"pycodestyle",
"pytest",
"pytest-cov",
"pytest-mock",
"requests_mock",
]
"dev": ["pycodestyle", "pytest", "pytest-cov", "pytest-mock", "requests_mock",]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing whitespace after ','

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

},
entry_points={
"console_scripts":[
"checkin={}.checkin:checkin".format(__library_name__)
]
"console_scripts": ["checkin={}.checkin:checkin".format(__library_name__)]
},
package_data={"": ["README.md", "LICENSE"], __library_name__: ["VERSION"]},
include_package_data=True,
Expand Down