-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
46 lines (41 loc) · 1.09 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
46
# Copyright (c) Facebook, Inc. and its affiliates.
from os import path
import setuptools
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setuptools.setup(
# Meta-data
name="metropolis_sdk",
author="Lorenzo Porzi",
author_email="[email protected]",
description="Mapillary Metropolis SDK",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/mapillary/metropolis_sdk",
# Versioning
use_scm_version={
"root": ".",
"relative_to": __file__,
"write_to": "metropolis/_version.py",
},
# Requirements
setup_requires=["setuptools_scm"],
install_requires=[
"matplotlib",
"numpy",
"pillow",
"pyquaternion",
"iopath",
"scikit-image",
"open3d",
],
python_requires=">=3, <4",
# Package description
packages=[
"metropolis",
"metropolis.utils",
],
# Scripts
scripts=["scripts/metropolis_crop_point_clouds"],
)