-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
45 lines (41 loc) · 1.5 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
from io import open
from os import path
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="tiktorch",
version="23.11.0",
description="Tiktorch client/server",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ilastik/tiktorch",
author="ilastik Team",
author_email="[email protected]",
classifiers=[ # Optional
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
packages=find_packages(exclude=["tests"]), # Required
install_requires=[
"bioimageio.spec==0.5.3.2",
"bioimageio.core==0.6.8",
"grpcio>=1.31",
"numpy<2", # pytorch 2.2.2-py3.9_0 for macos is compiled with numpy 1.*
"protobuf",
"pyyaml",
"xarray",
],
extras_require={"server-pytorch": ["pytorch>=2", "scikit-learn", "torchvision"]},
entry_points={"console_scripts": ["tiktorch=tiktorch.server.base:main"]},
# extras_require={"test": ["pytest"]},
project_urls={ # Optional
"Bug Reports": "https://github.com/ilastik/tiktorch/issues",
"Source": "https://github.com/ilastik/tiktorch/",
},
)