Skip to content

Commit

Permalink
Path resolution logic was flawed, this appears to work but we need to…
Browse files Browse the repository at this point in the history
… investigate portability
  • Loading branch information
dkmar committed Feb 21, 2024
1 parent 546302f commit 2123548
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Utility for solving and exploring wordle puzzles.

Install this tool using `pip`:

pip install wordle
pip install wordle-solver

## Usage

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "wordle-solver"
version = "0.2"
version = "0.3"
description = "Utility for solving and exploring wordle puzzles."
readme = "README.md"
authors = [{name = "Daniel Mar"}]
Expand Down
2 changes: 1 addition & 1 deletion wordle/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<Solver>
'''

DATA_DIR = Path.cwd() / 'wordle' / 'data'
DATA_DIR = Path(__file__).resolve().parent / 'data'
# original set of answers (prior to NYT acquisition) [2315]
# (this is commonly used for benchmarks)
ORIGINAL_HIDDEN_ANSWERS_PATH = DATA_DIR / 'original_hidden_answers.txt'
Expand Down

0 comments on commit 2123548

Please sign in to comment.