Skip to content

Commit 40351af

Browse files
committed
setup pipy package
1 parent 1a7fdd4 commit 40351af

File tree

4 files changed

+27
-4
lines changed

4 files changed

+27
-4
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude **\*.pth

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ To run the model you need Python 3.7+
1010

1111
Install the package `pix2tex`:
1212

13-
```pip install git+https://github.com/lukas-blecher/LaTeX-OCR.git```
13+
```pip install pix2tex```
1414

1515
Model checkpoints will be automatically downloaded.
1616

setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[metadata]
2+
description_file = README.md

setup.py

+23-3
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,30 @@
22

33
import setuptools
44

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+
510
setuptools.setup(
611
name='pix2tex',
7-
version='0.0.1',
12+
version='0.0.4',
813
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',
916
author='Lukas Blecher',
17+
author_email='luk.blecher@gmail.com',
1018
url='https://lukas-blecher.github.io/LaTeX-OCR/',
19+
license='MIT',
20+
keywords=[
21+
'artificial intelligence',
22+
'deep learning',
23+
'image to text'
24+
],
1125
packages=setuptools.find_packages(),
1226
package_data={
1327
'pix2tex': [
1428
'resources/*',
15-
'model/checkpoints/*.pth',
1629
'model/settings/*.yaml',
1730
'model/dataset/*.json',
1831
]
@@ -52,5 +65,12 @@
5265
'pix2tex_gui = pix2tex.gui:main',
5366
'pix2tex_cli = pix2tex.cli:main',
5467
],
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+
],
5676
)

0 commit comments

Comments
 (0)