-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (25 loc) · 743 Bytes
/
setup.py
File metadata and controls
27 lines (25 loc) · 743 Bytes
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
import os
from setuptools import setup, find_packages
import torch
from torch.utils.cpp_extension import CUDA_HOME, BuildExtension, CUDAExtension, CppExtension
torch_ver = [int(x) for x in torch.__version__.split(".")[:2]]
assert torch_ver >= [1, 8], "Requires PyTorch >= 1.8"
setup(
name='densematcher',
version='0.1.2',
packages=find_packages(include=["densematcher"]),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires=">=3.8",
py_modules=[],
install_requires=[
'torch',
'omegaconf',
'tqdm',
'scikit-learn',
],
include_package_data=True,
)