install Includes directory as Cython/Includes
authorStefan Behnel <scoder@users.berlios.de>
Mon, 21 Jul 2008 18:23:14 +0000 (20:23 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Mon, 21 Jul 2008 18:23:14 +0000 (20:23 +0200)
--HG--
rename : Includes/__cython__.pxd => Cython/Includes/__cython__.pxd
rename : Includes/numpy.pxd => Cython/Includes/numpy.pxd
rename : Includes/python.pxd => Cython/Includes/python.pxd
rename : Includes/python2.5.pxd => Cython/Includes/python2.5.pxd
rename : Includes/python_bool.pxd => Cython/Includes/python_bool.pxd
rename : Includes/python_complex.pxd => Cython/Includes/python_complex.pxd
rename : Includes/python_dict.pxd => Cython/Includes/python_dict.pxd
rename : Includes/python_exc.pxd => Cython/Includes/python_exc.pxd
rename : Includes/python_float.pxd => Cython/Includes/python_float.pxd
rename : Includes/python_function.pxd => Cython/Includes/python_function.pxd
rename : Includes/python_instance.pxd => Cython/Includes/python_instance.pxd
rename : Includes/python_int.pxd => Cython/Includes/python_int.pxd
rename : Includes/python_iterator.pxd => Cython/Includes/python_iterator.pxd
rename : Includes/python_list.pxd => Cython/Includes/python_list.pxd
rename : Includes/python_long.pxd => Cython/Includes/python_long.pxd
rename : Includes/python_mapping.pxd => Cython/Includes/python_mapping.pxd
rename : Includes/python_mem.pxd => Cython/Includes/python_mem.pxd
rename : Includes/python_method.pxd => Cython/Includes/python_method.pxd
rename : Includes/python_module.pxd => Cython/Includes/python_module.pxd
rename : Includes/python_number.pxd => Cython/Includes/python_number.pxd
rename : Includes/python_object.pxd => Cython/Includes/python_object.pxd
rename : Includes/python_parse.pxd => Cython/Includes/python_parse.pxd
rename : Includes/python_ref.pxd => Cython/Includes/python_ref.pxd
rename : Includes/python_sequence.pxd => Cython/Includes/python_sequence.pxd
rename : Includes/python_set.pxd => Cython/Includes/python_set.pxd
rename : Includes/python_string.pxd => Cython/Includes/python_string.pxd
rename : Includes/python_tuple.pxd => Cython/Includes/python_tuple.pxd
rename : Includes/python_type.pxd => Cython/Includes/python_type.pxd
rename : Includes/stdio.pxd => Cython/Includes/stdio.pxd
rename : Includes/stdlib.pxd => Cython/Includes/stdlib.pxd

31 files changed:
Cython/Includes/__cython__.pxd [moved from Includes/__cython__.pxd with 100% similarity]
Cython/Includes/numpy.pxd [moved from Includes/numpy.pxd with 100% similarity]
Cython/Includes/python.pxd [moved from Includes/python.pxd with 100% similarity]
Cython/Includes/python2.5.pxd [moved from Includes/python2.5.pxd with 100% similarity]
Cython/Includes/python_bool.pxd [moved from Includes/python_bool.pxd with 100% similarity]
Cython/Includes/python_complex.pxd [moved from Includes/python_complex.pxd with 100% similarity]
Cython/Includes/python_dict.pxd [moved from Includes/python_dict.pxd with 100% similarity]
Cython/Includes/python_exc.pxd [moved from Includes/python_exc.pxd with 100% similarity]
Cython/Includes/python_float.pxd [moved from Includes/python_float.pxd with 100% similarity]
Cython/Includes/python_function.pxd [moved from Includes/python_function.pxd with 100% similarity]
Cython/Includes/python_instance.pxd [moved from Includes/python_instance.pxd with 100% similarity]
Cython/Includes/python_int.pxd [moved from Includes/python_int.pxd with 100% similarity]
Cython/Includes/python_iterator.pxd [moved from Includes/python_iterator.pxd with 100% similarity]
Cython/Includes/python_list.pxd [moved from Includes/python_list.pxd with 100% similarity]
Cython/Includes/python_long.pxd [moved from Includes/python_long.pxd with 100% similarity]
Cython/Includes/python_mapping.pxd [moved from Includes/python_mapping.pxd with 100% similarity]
Cython/Includes/python_mem.pxd [moved from Includes/python_mem.pxd with 100% similarity]
Cython/Includes/python_method.pxd [moved from Includes/python_method.pxd with 100% similarity]
Cython/Includes/python_module.pxd [moved from Includes/python_module.pxd with 100% similarity]
Cython/Includes/python_number.pxd [moved from Includes/python_number.pxd with 100% similarity]
Cython/Includes/python_object.pxd [moved from Includes/python_object.pxd with 100% similarity]
Cython/Includes/python_parse.pxd [moved from Includes/python_parse.pxd with 100% similarity]
Cython/Includes/python_ref.pxd [moved from Includes/python_ref.pxd with 100% similarity]
Cython/Includes/python_sequence.pxd [moved from Includes/python_sequence.pxd with 100% similarity]
Cython/Includes/python_set.pxd [moved from Includes/python_set.pxd with 100% similarity]
Cython/Includes/python_string.pxd [moved from Includes/python_string.pxd with 100% similarity]
Cython/Includes/python_tuple.pxd [moved from Includes/python_tuple.pxd with 100% similarity]
Cython/Includes/python_type.pxd [moved from Includes/python_type.pxd with 100% similarity]
Cython/Includes/stdio.pxd [moved from Includes/stdio.pxd with 100% similarity]
Cython/Includes/stdlib.pxd [moved from Includes/stdlib.pxd with 100% similarity]
setup.py

similarity index 100%
rename from Includes/numpy.pxd
rename to Cython/Includes/numpy.pxd
similarity index 100%
rename from Includes/stdio.pxd
rename to Cython/Includes/stdio.pxd
index 5feab3d1a3e3686cb4d93701453771611f7721fe..481079f04d9f27686a7ca8638dd6be29d0781054 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -11,11 +11,14 @@ if sys.platform == "win32":
 setup_args = {}
 
 if sys.version_info < (2,4):
-    compiler_dir = os.path.join(get_python_lib(prefix=''), 'Cython/Compiler')
+    cython_dir = os.path.join(get_python_lib(prefix=''), 'Cython')
+    compiler_dir = os.path.join(cython_dir, 'Compiler')
     setup_args['data_files'] = [
-        {compiler_dir : ['Cython/Compiler/Lexicon.pickle']}]
+        {compiler_dir : ['Cython/Compiler/Lexicon.pickle'],
+         cython_dir   : ['Cython/Includes/*.pxd']}]
 else:
-    setup_args['package_data'] = {'Cython.Compiler' : ['Lexicon.pickle']}
+    setup_args['package_data'] = {'Cython.Compiler' : ['Lexicon.pickle'],
+                                  'Cython' : ['Includes/*.pxd']}
 
 if os.name == "posix":
     scripts = ["bin/cython"]