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

Fix build config and remove CLI script #256

Merged
merged 3 commits into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Unreleased

- CLI 스크립트 삭제

## v2.3.0 (2023/09/26)

- 카드 결제 기능 추가
Expand Down
Empty file removed SRT/cli/__init__.py
Empty file.
182 changes: 0 additions & 182 deletions SRT/cli/reserve.py

This file was deleted.

3 changes: 1 addition & 2 deletions docs/contribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ export SRT_PASSWORD=<YOUR_SRT_PASSWORD>
# set SRT_USERNAME=<YOUR_SRT_USERNAME>
# set SRT_PASSWORD=<YOUR_SRT_PASSWORD>

pip install -r requirements/test.txt
pip install -r requirements.txt
pip install -e ".[test]"

black SRT
pytest SRT -v -x
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ readme = "README.md"
requires-python = ">= 3.10"
dependencies = [
"requests",
"PyInquirer",
]
dynamic = [
"version",
Expand All @@ -24,19 +23,20 @@ Homepage = "https://github.com/ryanking13/SRT"
"Bug Tracker" = "https://github.com/ryanking13/SRT/issues"
Changelog = "https://github.com/ryanking13/SRT/blob/master/CHANGELOG.md"

[project.scripts]
srt-reserve = "SRT.cli.reserve:main"

[project.optional-dependencies]
test = [
"pytest",
"pytest-httpserver",
"black",
]


[tool.hatch.version]
source = "vcs"

[tool.hatch.build.targets.wheel]
packages = ["SRT"]

[tool.ruff]
select = [
"E", # pycodestyles
Expand Down
11 changes: 0 additions & 11 deletions requirements.txt

This file was deleted.

1 change: 1 addition & 0 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
urllib3==1.26.15
sphinx-rtd-theme
2 changes: 0 additions & 2 deletions requirements/test.txt

This file was deleted.