Mercurial > pygame
comparison setup.py @ 1849:301bc61643a9 math_module
merged changes from trunk
| author | lorenz |
|---|---|
| date | Mon, 16 Nov 2009 18:31:40 +0000 |
| parents | 02c1e8e9c102 |
| children |
comparison
equal
deleted
inserted
replaced
| 1848:bbc21cd6faeb | 1849:301bc61643a9 |
|---|---|
| 12 | 12 |
| 13 EXTRAS = {} | 13 EXTRAS = {} |
| 14 | 14 |
| 15 METADATA = { | 15 METADATA = { |
| 16 "name": "pygame", | 16 "name": "pygame", |
| 17 "version": "1.9.0rc3", | 17 "version": "1.9.2pre", |
| 18 "license": "LGPL", | 18 "license": "LGPL", |
| 19 "url": "http://www.pygame.org", | 19 "url": "http://www.pygame.org", |
| 20 "author": "Pete Shinners, Rene Dudfield, Marcus von Appen, Bob Pendleton, others...", | 20 "author": "Pete Shinners, Rene Dudfield, Marcus von Appen, Bob Pendleton, others...", |
| 21 "author_email": "pygame@seul.org", | 21 "author_email": "pygame@seul.org", |
| 22 "description": "Python Game Development", | 22 "description": "Python Game Development", |
| 152 | 152 |
| 153 #python 3.x: remove modules not yet ported | 153 #python 3.x: remove modules not yet ported |
| 154 if sys.version_info >= (3, 0, 0): | 154 if sys.version_info >= (3, 0, 0): |
| 155 python3_skip = ['scrap', | 155 python3_skip = ['scrap', |
| 156 '_camera', | 156 '_camera', |
| 157 '_movie', | |
| 157 '_numericsurfarray', | 158 '_numericsurfarray', |
| 158 '_numericsndarray', | 159 '_numericsndarray', |
| 159 ] | 160 ] |
| 160 tmp_extensions = extensions | 161 tmp_extensions = extensions |
| 161 extensions = [] | 162 extensions = [] |
| 185 #tests/fixtures | 186 #tests/fixtures |
| 186 add_datafiles(data_files, 'pygame/tests', | 187 add_datafiles(data_files, 'pygame/tests', |
| 187 ['test', | 188 ['test', |
| 188 [['fixtures', | 189 [['fixtures', |
| 189 [['xbm_cursors', | 190 [['xbm_cursors', |
| 190 ['*.xbm']]]]]]) | 191 ['*.xbm']], |
| 192 ['fonts', | |
| 193 ['*.ttf', '*.otf']]]]]]) | |
| 191 | 194 |
| 192 #examples | 195 #examples |
| 193 add_datafiles(data_files, 'pygame/examples', | 196 add_datafiles(data_files, 'pygame/examples', |
| 194 ['examples', | 197 ['examples', |
| 195 ['readme.txt', | 198 ['readme.txt', |
| 361 os.path.join('obj', 'win32', 'scale_mmx.obj')) | 364 os.path.join('obj', 'win32', 'scale_mmx.obj')) |
| 362 for i in range(len(e.sources)): | 365 for i in range(len(e.sources)): |
| 363 if e.sources[i].endswith('scale_mmx.c'): | 366 if e.sources[i].endswith('scale_mmx.c'): |
| 364 del e.sources[i] | 367 del e.sources[i] |
| 365 return | 368 return |
| 366 replace_scale_mmx() | 369 # linking to 64-bit mingw generated scale_mmx.obj fails |
| 370 if not '64 bit' in sys.version: | |
| 371 replace_scale_mmx() | |
| 367 | 372 |
| 368 | 373 |
| 369 #clean up the list of extensions | 374 #clean up the list of extensions |
| 370 for e in extensions[:]: | 375 for e in extensions[:]: |
| 371 if e.name.startswith('COPYLIB_'): | 376 if e.name.startswith('COPYLIB_'): |
