[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: transition plan was Re: [pygame] contemplating move to bitbucket(and hg). what do you think?





On 8/17/2011 7:17 AM, René Dudfield wrote:
Hi,


I've converted the repository over to bitbucket:
https://bitbucket.org/pygame/pygame/


Please have a play and let me know if you see any issues.


Works for me. The attached patch fixes some minor Python 3 and win-amd64 issues. I can also provide an improved pygame.ico (up to 256x256 RGBA) and the missing scale_mmx.obj and libmsvcr90.a files in obj\win64.

Christoph



I've added a file called "IMPORTANT_MOVED.txt" to subversion with a note
asking people not to commit changes to svn, and saying that we've moved
to bitbucket.

I haven't completed the map from svn revision to hg revision yet.



I'm working on the bugzilla to bitbucket issue tracking now.

*Please don't add any issues to the bitbucket issue tracker if you can
help it for the moment - since they might get over written.  I'm not
going to download the bugs from bugzilla again either.

So far I have downloaded the bugzilla bugs in xml format, and have read
a bunch of documentation.  I'm thinking of doing a quick and dirty
conversion because I don't want to spend all that much time on it.


cheers,

diff -r 2366e67f0c3b examples/camera.py
--- a/examples/camera.py	Wed Aug 17 19:11:58 2011 +0000
+++ b/examples/camera.py	Wed Aug 17 10:05:36 2011 -0700
@@ -22,7 +22,7 @@
 
         # gets a list of available cameras.
         self.clist = pygame.camera.list_cameras()
-        print self.clist
+        print (self.clist)
 
         if not self.clist:
             raise ValueError("Sorry, no cameras detected.")
diff -r 2366e67f0c3b setup.py
--- a/setup.py	Wed Aug 17 19:11:58 2011 +0000
+++ b/setup.py	Wed Aug 17 10:05:36 2011 -0700
@@ -376,15 +385,16 @@
         for e in extensions:
             if e.name == 'transform':
                 if '64 bit' in sys.version:
-                    e.extra_objects.append(
-                        os.path.join('obj', 'win64', 'scale_mmx64_gcc.obj'))
+                    e.extra_objects.extend((
+                        os.path.join('obj', 'win64', 'scale_mmx.obj'),
+                        os.path.join('obj', 'win64', 'libmsvcr90.a')))
                 else:
                     e.extra_objects.append(
                         os.path.join('obj', 'win32', 'scale_mmx.obj'))
-                    for i in range(len(e.sources)):
-                        if e.sources[i].endswith('scale_mmx.c'):
-                            del e.sources[i]
-                            return
+                for i in range(len(e.sources)):
+                    if e.sources[i].endswith('scale_mmx.c'):
+                        del e.sources[i]
+                        return
     replace_scale_mmx()
 
 
diff -r 2366e67f0c3b test/pixelcopy_test.py
--- a/test/pixelcopy_test.py	Wed Aug 17 19:11:58 2011 +0000
+++ b/test/pixelcopy_test.py	Wed Aug 17 10:05:36 2011 -0700
@@ -241,7 +241,7 @@
             p = pixel.get_at_mapped((0, 0))
             for x in range(w):
                 for y in range(h):
-                     self.assertEqual(target.get_at_mapped((x, y)), p)
+                    self.assertEqual(target.get_at_mapped((x, y)), p)
 
             
 class PixelCopyTestWithArray(unittest.TestCase):