bump rtb-data
@@ -9,7 +9,7 @@ here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
-release = "0.9"
+release = "0.9.1"
# list all data folders here, to ensure they get packaged
@@ -19,6 +19,8 @@ data_folders = [
# https://stackoverflow.com/questions/18725137/how-to-obtain-arguments-passed-to-setup-py-from-pip-with-install-option
# but get an error
+
+
def package_files(directory):
paths = []
for (pathhere, _, filenames) in os.walk(directory):
@@ -26,6 +28,7 @@ def package_files(directory):
paths.append(os.path.join('..', pathhere, filename))
return paths
+
extra_files = []
for data_folder in data_folders:
extra_files += package_files(data_folder)
