Browse Source

Merge branch 'hotfix/0.1.1'

Miroslav Shubernetskiy 11 years ago
parent
commit
51eda05e39
2 changed files with 6 additions and 2 deletions
  1. 1 1
      rest_framework_bulk/__init__.py
  2. 5 1
      setup.py

+ 1 - 1
rest_framework_bulk/__init__.py

@@ -1,4 +1,4 @@
-__version__ = '0.1'
+__version__ = '0.1.1'
 __author__ = 'Miroslav Shubernetskiy'
 __author__ = 'Miroslav Shubernetskiy'
 
 
 try:
 try:

+ 5 - 1
setup.py

@@ -28,7 +28,11 @@ def get_package_data(package):
     for base, filenames in walk:
     for base, filenames in walk:
         filepaths.extend([os.path.join(base, filename)
         filepaths.extend([os.path.join(base, filename)
                           for filename in filenames])
                           for filename in filenames])
-    return {package: filepaths}
+
+    if filepaths:
+        return {package: filepaths}
+    else:
+        return None
 
 
 
 
 def read(fname):
 def read(fname):