suppport win64 builds
This commit is contained in:
6
setup.py
6
setup.py
@@ -31,7 +31,11 @@ if py2exe is not None:
|
|||||||
('', ['config.js', 'COPYING.txt', 'README.rst']),
|
('', ['config.js', 'COPYING.txt', 'README.rst']),
|
||||||
('web_assets', glob.glob('web_assets/*'))]
|
('web_assets', glob.glob('web_assets/*'))]
|
||||||
setup_kwargs['zipfile'] = None
|
setup_kwargs['zipfile'] = None
|
||||||
setup_kwargs['options']['py2exe'] = {'bundle_files' : 1, 'excludes': 'Tkinter'}
|
if platform.system() == 'Windows' and '64bit' in platform.architecture():
|
||||||
|
b = 3
|
||||||
|
else:
|
||||||
|
b = 1
|
||||||
|
setup_kwargs['options']['py2exe'] = {'bundle_files' : b, 'excludes': 'Tkinter'}
|
||||||
|
|
||||||
#
|
#
|
||||||
# c_overviewer extension
|
# c_overviewer extension
|
||||||
|
|||||||
@@ -272,7 +272,7 @@ alpha_over_wrap(PyObject *self, PyObject *args)
|
|||||||
/* like alpha_over, but instead of src image it takes a source color
|
/* like alpha_over, but instead of src image it takes a source color
|
||||||
* also, it multiplies instead of doing an over operation
|
* also, it multiplies instead of doing an over operation
|
||||||
*/
|
*/
|
||||||
inline PyObject *
|
PyObject *
|
||||||
tint_with_mask(PyObject *dest, unsigned char sr, unsigned char sg, unsigned char sb,
|
tint_with_mask(PyObject *dest, unsigned char sr, unsigned char sg, unsigned char sb,
|
||||||
PyObject *mask, int dx, int dy, int xsize, int ysize) {
|
PyObject *mask, int dx, int dy, int xsize, int ysize) {
|
||||||
/* libImaging handles */
|
/* libImaging handles */
|
||||||
|
|||||||
Reference in New Issue
Block a user