-
Notifications
You must be signed in to change notification settings - Fork 40
/
setup.py
44 lines (41 loc) · 1.26 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# --------------------------------------------------------
# Descripttion: https://github.com/sxhxliang/detectron2_backbone
# version: 0.0.1
# Author: Shihua Liang ([email protected])
# FilePath: /detectron2_backbone/setup.py
# Create: 2020-03-26 22:13:49
# LastAuthor: Shihua Liang
# lastTime: 2020-05-03 23:38:15
# --------------------------------------------------------
import glob
import os
from setuptools import find_packages, setup
import torch
torch_ver = [int(x) for x in torch.__version__.split(".")[:2]]
assert torch_ver >= [1, 3], "Requires PyTorch >= 1.3"
setup(
name="detectron2_backbone",
version="0.0.1",
author="Shihua Liang",
url="https://github.com/sxhxliang/detectron2_backbone",
description="backbone for detectron2",
packages=["detectron2_backbone"],
python_requires=">=3.5",
install_requires=[
"termcolor>=1.1",
"Pillow>=6.0",
"yacs>=0.1.6",
"addict",
"pyyaml",
"tabulate",
"cloudpickle",
"matplotlib",
"tqdm>4.29.0",
"tensorboard",
],
# extras_require={"all": ["shapely", "psutil"]},
# ext_modules=get_extensions(),
# cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension},
)