[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [pygame] new 2d primitives library for pygame/SDL
> ok, i got your project files. i'll put these on the ftp site in case
> anyone wants these? i'm wondering if you've found any benefits with
> the msvc projects? the only thing i can think is that you get all
> the files nicely listed in the msvc ide?
> as for pygame, i've done all the development on windows. the distutils
> do a great job of handling win32, so i haven't bothered with any msvc
> projects.
Mostly lack of familiarity with the distutils - I'm used to just hitting
F7, and away I go. Didn't think distutils were really solid on Win32.
>
> you also need to change the #include"pygame.h" to
> #include"pygame/pygame.h". distutils adds the python headers
> directory into the compile commands, and it installs the pygame
> headers into a subdirectory there. so "pygame/pygame.h" will
> work on all platforms. distutils also handles all the function
> exporting for you, so there's no need to __declspec() your code. :]
>
Another reason I should try switching how I do my builds - just not
familiar with distutils - I tried it once in the very early days, and it
was pretty hosed. Never gone back for a second dip.
Profiling line drawing code now - will probably have a pygame.draw patch
for you in a day or 2.
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org