forked from kingyiusuen/image-to-latex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (43 loc) · 1.22 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# setup.py
# Setup installation for the application
from pathlib import Path
from setuptools import setup
BASE_DIR = Path(__file__).parent
# Load packages from requirements.txt
with open(Path(BASE_DIR, "requirements.txt")) as file:
required_packages = [ln.strip() for ln in file.readlines()]
dev_packages = [
"black==21.5b1",
"flake8==3.9.2",
"isort==5.8.0",
"mypy==0.812",
"pre-commit==2.13.0",
]
setup(
name="image-to-latex",
version="0.1",
license="MIT",
description="Convert images to latex code.",
author="King Yiu Suen",
author_email="kingyiusuen@gmail.com",
url="https://github.com/kingyiusuen/image-to-latex/",
keywords=[
"machine-learning",
"deep-learning",
"artificial-intelligence",
"latex",
"neural-network",
],
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
python_requires=">=3.6",
install_requires=[required_packages],
extras_require={
"dev": dev_packages,
},
)