Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : proto

Dir     : e17/proto/python-efl/python-ecore


Modified Files:
        setup.py 


Log Message:
Add setup/install_requires, install PXD files

===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-ecore/setup.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- setup.py    3 May 2007 16:21:48 -0000       1.3
+++ setup.py    3 May 2007 16:25:02 -0000       1.4
@@ -1,10 +1,14 @@
 import sys
 import os
 
+import distutils.sysconfig
 from setuptools import setup, find_packages, Extension
 import commands
 
 
+python_inc = distutils.sysconfig.get_python_inc()
+
+
 def pkgconfig(*packages, **kw):
     flag_map = {'-I': 'include_dirs', '-L': 'library_dirs', '-l': 'libraries'}
     pkgs = ' '.join(packages)
@@ -42,10 +46,22 @@
                                      ],
                             **pkgconfig('"ecore-evas >= 0.9.9.037"'))
 
+
+headers = ['ecore/ecore.c_ecore.pxd',
+           'ecore/evas/ecore.evas.c_ecore_evas.pxd',
+           ]
+
+include_dirs = [os.path.join(python_inc, "python-evas")]
+
+
 setup(name = 'python-ecore',
       version = '0.1.0',
       license = 'LGPL',
       description = 'Python bindings for Ecore',
       packages = find_packages(),
+      install_requires = ['python-evas>=0.1.0'],
+      setup_requires = ['python-evas>=0.1.0'],
+      headers = headers,
+      include_dirs = include_dirs,
       ext_modules = [ecoremodule, ecoreevasmodule],
       )



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to