@@ -62,6 +62,13 @@ def run(self):
62
62
completed_git_clone = sp .run (subprocess_args )
63
63
if completed_git_clone .returncode > 0 :
64
64
raise RuntimeError (f"Could not properly finish cloning of common repo" )
65
+ # subprocess_args = ['git', 'submodule', 'update', '--init']
66
+ # completed_git_submodule_process = sp.run(subprocess_args)
67
+ # if completed_git_submodule_process.returncode > 0:
68
+ # raise RuntimeError(
69
+ # f"Could not properly finish `{' '.join(subprocess_args)}' command."
70
+ # f"Return code: {completed_git_submodule_process.returncode}"
71
+ # )
65
72
os .chdir (cwd )
66
73
print ("glob dir: " , str (setup_py_dir / 'common/riva/proto/*.proto' ))
67
74
for proto in glob (str (setup_py_dir / 'common/riva/proto/*.proto' )):
@@ -113,7 +120,7 @@ def get_version():
113
120
maintainer = __contact_names__ ,
114
121
maintainer_email = __contact_emails__ ,
115
122
keywords = __keywords__ ,
116
- packages = setuptools .find_packages (),
123
+ packages = setuptools .find_packages (exclude = [ 'tests' , 'tutorials' , 'scripts' ] ),
117
124
cmdclass = {"build_py" : BuildPyCommand },
118
125
classifiers = [
119
126
"Development Status :: 4 - Beta" ,
@@ -123,5 +130,4 @@ def get_version():
123
130
python_requires = '>=3.6' ,
124
131
install_requires = ['grpcio-tools' ],
125
132
setup_requires = ['grpcio-tools' ],
126
- exclude = ['tests' , 'tutorials' , 'scripts' ],
127
133
)
0 commit comments