Skip to content

Commit

Permalink
Fix pyreadline error lukas-blecher#252
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-blecher committed Apr 6, 2023
1 parent 44d70eb commit 6fe881c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pix2tex/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import yaml
import re

with suppress(ImportError):
with suppress(ImportError, AttributeError):
import readline

import numpy as np
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

setuptools.setup(
name='pix2tex',
version='0.0.29',
version='0.0.30',
description='pix2tex: Using a ViT to convert images of equations into LaTeX code.',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down Expand Up @@ -65,6 +65,7 @@
'pandas>=1.0.0',
'timm==0.5.4',
'albumentations>=0.5.2',
'pyreadline3>=3.4.1; platform_system=="Windows"',
],
extras_require={
'all': gui+api+train+highlight,
Expand Down

0 comments on commit 6fe881c

Please sign in to comment.