-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (34 loc) · 1.25 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
"""
Installer for MRRS. Will handle dependencies and will add modules to meshroom.
"""
import os
import pathlib
from setuptools import setup
#Setting env variable
#FIXME: this is not working, it only sets for the current env
MLEM_path = os.path.join(str(pathlib.Path(__file__).parent.resolve()), "mrrs", "nodes")
print("MRRS path "+MLEM_path)
os.environ['MESHROOM_NODES_PATH'] = MLEM_path
#move to a conda recipe
# https://docs.conda.io/projects/conda-build/en/latest/resources/build-scripts.html
setup(
name='MRRS',
version='0.0.0',
author='Matthieu Hog',
author_email='[email protected]',
packages=['mrrs'],#
#scripts=['bin/script1','bin/script2'],
#url='http://pypi.python.org/pypi/PackageName/',
#license='LICENSE.txt',
description='Meshroom Research plugin and library.',
long_description=open('README.md').read(),
install_requires=["numpy", "pillow",
"opencv-python-headless",
"trimesh", "click"],
# "openexr-python"],#note add mode meshroom? with oiio
scripts=['clis/benchmark.py'],
extras_require= {
"onnx": ["onnxruntime"],
# "training": "tensorflow==2.4"#need conda
},
)