Skip to content

Commit

Permalink
Readline comes with UNIX, pyreadline3 now installs on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Aug 13, 2023
1 parent cca3a5b commit e7d56f9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
13 changes: 12 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "open-interpreter"
packages = [
{include = "interpreter"},
]
version = "0.0.292"
version = "0.0.293"
description = "Ask GPT-4 to run code locally."
authors = ["Killian Lucas <[email protected]>"]
readme = "README.md"
Expand All @@ -19,14 +19,12 @@ tokentrim = "^0.1.2"
appdirs = "^1.4.4"
six = "^1.16.0"

# On non-windows systems, you can just `import readline`.
# On windows, `pyreadline3` replaces that, so you can also just `import readline`.
[tool.poetry.dependencies.pyreadline3]
version = "*"
version = "^3.4.1"
markers = "sys_platform == 'win32'"

[tool.poetry.dependencies.readline]
version = "*"
markers = "sys_platform != 'win32'"

[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"

Expand Down

0 comments on commit e7d56f9

Please sign in to comment.