Amélioration ld.
[minwii.git] / setup.py
index 1240d32..6c3042e 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -3,35 +3,22 @@
 $Id$
 $URL$
 """
-from distutils.core import setup
+from setuptools import setup
 
-name = 'MINWii'
-version='1.0',
-description='Musicochérapie Interractive Numérique avec la Wiimote',
-author='Samuel Benveniste',
-author_email='samuel.benveniste@gmail.com',
-# url='',
-packages=['minwii', 'minwii.widgets', 'pywiiuse']
-
-package_dir={'minwii' : 'src/minwii',
-             'minwii.widgets' : 'src/minwii/widgets',
-             'pywiiuse' : 'src/pywiiuse'}
-
-package_data={'minwii' : ['fonts/*.ttf',
-                          'soundfonts/*.sf2'],
-              'minwii.widgets' : ['data/*.png',
-                                  'data/cursor/black/*',
-                                  'data/cursor/black-perforated/*',
-                                  'data/instruments/*.jpg']}
-
-
-setup(name=name,
-      version=version,
-      description=description,
-      author=author,
-      author_email=author_email,
-      # url='',
-      packages=packages,
-      package_dir=package_dir,
-      package_data=package_data
+setup(name='MINDs',
+      version='2.0.2',
+      description='Musique Interactive Numérique pour les Démences',
+      author='Samuel Benveniste',
+      author_email='samuel.benveniste@gmail.com',
+      url='http://minwii.org',
+      packages=['minwii', 'minwii.widgets', 'pywiiuse'],
+      package_dir={'' : 'src'},
+      package_data={'minwii' : ['fonts/*.ttf',
+                                'soundfonts/Minwii-light-soundfont.sf2'],
+                    'minwii.widgets' : ['data/*.png',
+                                        'data/cursor/black/*',
+                                        'data/cursor/black-perforated/*',
+                                        'data/instruments/*.jpg',
+                                        'data/minwii_theme/*']},
+      install_requires=['pyFluidSynth', 'pgu']
       )
\ No newline at end of file