-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (32 loc) · 1.16 KB
/
setup.py
File metadata and controls
38 lines (32 loc) · 1.16 KB
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
"""setup.py file for imageassessmentservice."""
from pathlib import Path
from typing import List
from setuptools import setup, find_packages
def read_requirements() -> List[str]:
with open("requirements.txt", "r") as file:
requirements = [line.rstrip("\n") for line in file.readlines()]
return requirements
setup(
name="imageassessmentservice",
version="0.0.3",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="image assessment service",
author="ae137",
author_email="a_e_mailings@posteo.de",
packages=find_packages(
include=["imageassessmentservice", "imageassessmentservice.*"]
),
url="https://github.com/ae137/ImageAssessmentService",
license="GPL v3",
description="A package providing a service and a client for assessing images",
long_description=Path("README.md").read_text(),
long_description_content_type="text/markdown",
requires=["setuptools", "grpc_tools"],
install_requires=read_requirements(),
setup_requires=["pytest-runner", "flake8"],
tests_require=["pytest"],
python_requires=">=3.8",
)