Skip to content

Commit 41c594c

Browse files
bottlerfacebook-github-bot
authored andcommitted
fix entry points in setup.py
Summary: For `pip install` without -e, we need to name the entry point functions in setup.py. Reviewed By: patricklabatut Differential Revision: D35933037 fbshipit-source-id: be15ae1a4bb7c5305ea2ba992d07f3279c452250
1 parent c3c4495 commit 41c594c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ def __init__(self, *args, **kwargs):
149149
},
150150
entry_points={
151151
"console_scripts": [
152-
f"pytorch3d_implicitron_runner={trainer}.experiment",
153-
f"pytorch3d_implicitron_visualizer={trainer}.visualize_reconstruction",
152+
f"pytorch3d_implicitron_runner={trainer}.experiment:experiment",
153+
f"pytorch3d_implicitron_visualizer={trainer}.visualize_reconstruction:main",
154154
]
155155
},
156156
ext_modules=get_extensions(),

0 commit comments

Comments
 (0)