Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
Added support for 64-bit Windows (fixes issue #11).
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Sanders committed May 30, 2011
1 parent 03c55d0 commit dc6b14d
Show file tree
Hide file tree
Showing 15 changed files with 5,187 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,13 @@ def add_lib(module_dict, lib):
# We store Windows libraries and headers in our own custom folder.
win_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
'windows')


# Libraries are statically compiled for their architecture.
win_dir = os.path.join(win_dir,
'win64' if platform.architecture()[0] == '64bit'
else 'win32')

if not os.path.isdir(win_dir):
raise IOError('windows directory not found at: "%s"' % win_dir)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added windows/win64/libpng.lib
Binary file not shown.
2,309 changes: 2,309 additions & 0 deletions windows/win64/png.h

Large diffs are not rendered by default.

Loading

0 comments on commit dc6b14d

Please sign in to comment.