From 1dec8e4739a724cd50ef3b3d6621edcef33c6b1d Mon Sep 17 00:00:00 2001 From: Keith Beattie Date: Wed, 14 Oct 2020 11:48:58 -0700 Subject: [PATCH] Ensure that R files in dirs without __init__.py are installed (#832) (cherry picked from commit 57005bfc891de56f1fa0804521140c1b3f63f0fa) --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 59d78a675..845e19582 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ John Eslick, Carnegie Mellon University, 2014 See LICENSE.md for license and copyright details. """ -from setuptools import setup, find_packages +from setuptools import setup, find_namespace_packages import sys import os import subprocess @@ -44,10 +44,10 @@ maintainer = ver.maintainer, maintainer_email = ver.maintainer_email, url = ver.webpage, - packages = find_packages(), + packages = find_namespace_packages(), package_data={ '':['*.template', '*.json', '*.dll', '*.so', '*.svg', '*.png', - '*.html', '*.gms', '*.gpr', '*.ccs', '*.ico']}, + '*.html', '*.gms', '*.gpr', '*.ccs', '*.ico', '*.R']}, include_package_data=True, scripts = [ 'cloud/aws/foqus_worker.py',