Skip to content

Commit

Permalink
include --install-rosco flag
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Feb 3, 2021
1 parent 9b00496 commit 488d563
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,11 @@ def run(self):
include_package_date = True,
packages = find_packages(exclude=["tests", "*.tests", "*.tests.*", "tests.*"]),
license = 'Apache License, Version 2.0',
ext_modules = [roscoExt],
cmdclass = {'build_ext': CMakeBuildExt, 'upload': UploadCommand},
zip_safe = False,
)
if "--install-rosco" in sys.argv:
metadata['ext_modules'] = [roscoExt]
sys.argv.remove("--install-rosco")

setup(**metadata)

0 comments on commit 488d563

Please sign in to comment.