From a7ef7d76d61358ae69d3f125d82cc8c65896bc1b Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Tue, 21 Aug 2012 23:52:10 +0200
Subject: [PATCH] Really include all datafiles

---
 MANIFEST.in |  3 +++
 setup.py    | 16 +++-------------
 2 files changed, 6 insertions(+), 13 deletions(-)
 create mode 100644 MANIFEST.in

diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..fd72987
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,3 @@
+include README.rst
+recursive-include docs *.py *.rst
+recursive-include replay *.sql3
diff --git a/setup.py b/setup.py
index c061964..f799789 100644
--- a/setup.py
+++ b/setup.py
@@ -13,24 +13,14 @@ setup(
     version='master',
     description='Replay Attack Database Access API for Bob',
     url='http://github.com/bioidiap/bob.db.replay',
-    license='LICENSE.txt',
+    license='GPLv3',
     author_email='Andre Anjos <andre.anjos@idiap.ch>',
     #long_description=open('doc/howto.rst').read(),
 
     # This line is required for any distutils based packaging.
     packages=find_packages(),
-
-    # Always include your .sql3 file with the package data. This will make sure
-    # it is packaged correctly for PyPI uploads or for any other package
-    # management system such as Ubuntu's.
-    package_data = {
-      '': [
-        'README.rst',
-        ],
-      'replay': [
-        'db/db.sql3',
-        ],
-      },
+    include_package_data=True,
+    zip_safe=False,
 
     install_requires=[
         "bob == master",  # base signal proc./machine learning library
-- 
GitLab