Skip to content

Commit

Permalink
update setup for CLI install
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGellis committed Sep 4, 2024
1 parent 9688142 commit 884791a
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,31 @@
""" App setup file. """

from setuptools import setup, find_packages

with open("requirements.txt", "r") as f:
REQUIRED_PACKAGES = f.read().splitlines()

setup(
name="Table Reader",
version="1.0",
description="A python app for extracting data from images",
name="table_reader",
version="1.0.0",
description="A Python app for extracting data from images",
download_url="https://github.com/JasonGellis/table_reader",
author="Jason Jacob Gellis",
author_email="[email protected]",
license="MIT",
keywords=['data extraction', 'data analysis', \
'optical character recognition', 'computer vision'],
keywords=[
'data extraction', 'data analysis',
'optical character recognition', 'computer vision'
],
install_requires=REQUIRED_PACKAGES,
packages=find_packages(),
entry_points={
'console_scripts': [
'tablereader=app:main', # This is where you define the CLI command and the entry point
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
)

0 comments on commit 884791a

Please sign in to comment.