Skip to content

Commit

Permalink
Fix build config and remove CLI script (#256)
Browse files Browse the repository at this point in the history
* Fix requirements

* Fix requirements for doc

* Typo
  • Loading branch information
ryanking13 authored Jan 1, 2024
1 parent 5c8413d commit 7546afa
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 201 deletions.
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.

0 comments on commit 7546afa

Please sign in to comment.