Skip to content

Commit

Permalink
BLD: fix python 3.x compilation and include missing files in sdist ar…
Browse files Browse the repository at this point in the history
…chives.

Also include Cython files, we should be shipping those even if they're not
necessary to build scipy at present.
  • Loading branch information
rgommers authored and pv committed Nov 4, 2012
1 parent 2c33f05 commit e2283dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ include setupscons.py
include setupegg.py
include setup.py
include scipy/*.py
# Add Cython files
recursive-include scipy *.pyx *.pxd *.pxi
# Adding scons build related files not found by distutils
recursive-include scipy SConstruct SConscript
recursive-include scipy README
# Add files to allow Bento build
include f2py.py
include interface_gen.py
Expand All @@ -26,3 +29,4 @@ recursive-include doc/release *
recursive-include doc/source *
recursive-include doc/sphinxext *
prune scipy/special/tests/data/boost
include scipy/special/Faddeeva.hh
4 changes: 3 additions & 1 deletion tools/py3tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def custom_mangling(filename):
os.path.join('special', '__init__.py'),
os.path.join('special', 'add_newdocs.py'),
os.path.join('special', 'basic.py'),
os.path.join('special', 'lambertw.py'),
os.path.join('special', 'orthogonal.py'),
os.path.join('spatial', '__init__.py'),
os.path.join('spatial', 'distance.py'),
Expand Down Expand Up @@ -210,11 +211,12 @@ def custom_mangling(filename):
'_flinalg', 'fblas', 'flapack', 'cblas', 'clapack',
'calc_lwork', '_cephes', 'specfun', 'orthogonal_eval',
'lambertw', 'ckdtree', '_distance_wrap', '_logit',
'_ufuncs', '_ufuncs_cxx',
'_minpack', '_zeros', '_lbfgsb', '_cobyla', '_slsqp',
'_nnls',
'sigtools', 'spline', 'spectral',
'_fitpack', 'dfitpack', '_interpolate',
'_odepack', '_quadpack', 'vode', '_dop',
'_odepack', '_quadpack', 'vode', '_dop', 'lsoda',
'vonmises_cython', '_rank',
'futil', 'mvn',
'_nd_image',
Expand Down

0 comments on commit e2283dd

Please sign in to comment.