File tree 4 files changed +27
-4
lines changed
4 files changed +27
-4
lines changed Original file line number Diff line number Diff line change
1
+ exclude **\*.pth
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ To run the model you need Python 3.7+
10
10
11
11
Install the package ` pix2tex ` :
12
12
13
- ``` pip install git+https://github.com/lukas-blecher/LaTeX-OCR.git ```
13
+ ``` pip install pix2tex ```
14
14
15
15
Model checkpoints will be automatically downloaded.
16
16
Original file line number Diff line number Diff line change
1
+ [metadata]
2
+ description_file = README.md
Original file line number Diff line number Diff line change 2
2
3
3
import setuptools
4
4
5
+ # read the contents of your README file
6
+ from pathlib import Path
7
+ this_directory = Path (__file__ ).parent
8
+ long_description = (this_directory / "README.md" ).read_text ()
9
+
5
10
setuptools .setup (
6
11
name = 'pix2tex' ,
7
- version = '0.0.1 ' ,
12
+ version = '0.0.4 ' ,
8
13
description = "pix2tex: Using a ViT to convert images of equations into LaTeX code." ,
14
+ long_description = long_description ,
15
+ long_description_content_type = 'text/markdown' ,
9
16
author = 'Lukas Blecher' ,
17
+
10
18
url = 'https://lukas-blecher.github.io/LaTeX-OCR/' ,
19
+ license = 'MIT' ,
20
+ keywords = [
21
+ 'artificial intelligence' ,
22
+ 'deep learning' ,
23
+ 'image to text'
24
+ ],
11
25
packages = setuptools .find_packages (),
12
26
package_data = {
13
27
'pix2tex' : [
14
28
'resources/*' ,
15
- 'model/checkpoints/*.pth' ,
16
29
'model/settings/*.yaml' ,
17
30
'model/dataset/*.json' ,
18
31
]
52
65
'pix2tex_gui = pix2tex.gui:main' ,
53
66
'pix2tex_cli = pix2tex.cli:main' ,
54
67
],
55
- }
68
+ },
69
+ classifiers = [
70
+ 'Development Status :: 4 - Beta' ,
71
+ 'Intended Audience :: Science/Research' ,
72
+ 'Topic :: Scientific/Engineering :: Artificial Intelligence' ,
73
+ 'License :: OSI Approved :: MIT License' ,
74
+ 'Programming Language :: Python :: 3.7' ,
75
+ ],
56
76
)
You can’t perform that action at this time.
0 commit comments