-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (29 loc) · 1.11 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
from setuptools import find_packages, setup
import re
PACKAGE_NAME = "image-comparer"
PACKAGE_NAME_UNDERLINE = PACKAGE_NAME.replace("-", "_")
version = re.search(
'^__version__\s*=\s*"(.*)"',
open(f'{PACKAGE_NAME_UNDERLINE}/__init__.py').read(),
re.M
).group(1)
setup(
name=PACKAGE_NAME,
packages=find_packages(exclude=["tests"]),
version=version,
description='Compares two images using siamese networks',
long_description=open("README.rst", "r").read(),
long_description_content_type='text/x-rst',
author='joeyism',
url='https://github.com/joeyism/py-image-comparer',
download_url='https://github.com/joeyism/py-image-comparer/archive/{}.tar.gz'.format(version),
install_requires=[package for package in open("requirements.txt").read().split("\n")],
keywords=["pytorch", "torch", "machine", "learning", "image", "compare", "comparer", "siamese", "network", "networks"],
entry_points={
"console_scripts": [
f"image-compare = {PACKAGE_NAME_UNDERLINE}.cli:cli",
]
},
package_data={"": ["*.txt", "*.cfg"]},
include_package_data=True,
)