[cig-commits] r4992 - in cs/pythia/trunk: . pythia
leif at geodynamics.org
leif at geodynamics.org
Fri Oct 13 15:51:35 PDT 2006
Author: leif
Date: 2006-10-13 15:51:35 -0700 (Fri, 13 Oct 2006)
New Revision: 4992
Modified:
cs/pythia/trunk/pythia/__init__.py
cs/pythia/trunk/setup.py
Log:
Fix for namespace sys.path bug; use include_package_data.
Modified: cs/pythia/trunk/pythia/__init__.py
===================================================================
--- cs/pythia/trunk/pythia/__init__.py 2006-10-13 22:41:12 UTC (rev 4991)
+++ cs/pythia/trunk/pythia/__init__.py 2006-10-13 22:51:35 UTC (rev 4992)
@@ -12,7 +12,7 @@
import sys
-sys.path.append(__path__[0])
+sys.path.insert(1, __path__[0])
# end of file
Modified: cs/pythia/trunk/setup.py
===================================================================
--- cs/pythia/trunk/setup.py 2006-10-13 22:41:12 UTC (rev 4991)
+++ cs/pythia/trunk/setup.py 2006-10-13 22:51:35 UTC (rev 4992)
@@ -16,11 +16,8 @@
zip_safe = False,
packages = find_packages(),
- package_data = {
- 'pythia.mpi': ['_mpi.c', '_mpi.pyx', 'cmpi.pxd'],
- # If any package contains *.pml, *.odb, or *.h files, include them:
- '': ['*.pml', '*.odb', '*.h'],
- },
+ # include everything under version control
+ include_package_data = True,
install_requires = [
'Cheetah',
More information about the cig-commits
mailing list