-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from lukas-blecher/pipy
Pipy
- Loading branch information
Showing
5 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
exclude **\*.pth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[metadata] | ||
description_file = README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,17 +2,30 @@ | |
|
||
import setuptools | ||
|
||
# read the contents of your README file | ||
from pathlib import Path | ||
this_directory = Path(__file__).parent | ||
long_description = (this_directory / "README.md").read_text() | ||
|
||
setuptools.setup( | ||
name='pix2tex', | ||
version='0.0.1', | ||
version='0.0.4', | ||
description="pix2tex: Using a ViT to convert images of equations into LaTeX code.", | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
author='Lukas Blecher', | ||
author_email='[email protected]', | ||
url='https://lukas-blecher.github.io/LaTeX-OCR/', | ||
license='MIT', | ||
keywords=[ | ||
'artificial intelligence', | ||
'deep learning', | ||
'image to text' | ||
], | ||
packages=setuptools.find_packages(), | ||
package_data={ | ||
'pix2tex': [ | ||
'resources/*', | ||
'model/checkpoints/*.pth', | ||
'model/settings/*.yaml', | ||
'model/dataset/*.json', | ||
] | ||
|
@@ -52,5 +65,12 @@ | |
'pix2tex_gui = pix2tex.gui:main', | ||
'pix2tex_cli = pix2tex.cli:main', | ||
], | ||
} | ||
}, | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Science/Research', | ||
'Topic :: Scientific/Engineering :: Artificial Intelligence', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python :: 3.7', | ||
], | ||
) |