summaryrefslogtreecommitdiff
path: root/devel/py-game/files/patch-setup.py
blob: 57cd957120259ed2179650f1b815171009a0c3a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
--- setup.py.orig	2009-08-06 10:28:54.000000000 +0200
+++ setup.py	2012-06-12 20:31:52.000000000 +0200
@@ -173,9 +173,9 @@
 data_files = [('pygame', pygame_data_files)]
 
 #add files in distribution directory
-pygame_data_files.append('LGPL')
-pygame_data_files.append('readme.html')
-pygame_data_files.append('install.html')
+#pygame_data_files.append('LGPL')
+#pygame_data_files.append('readme.html')
+#pygame_data_files.append('install.html')
 
 #add non .py files in lib directory
 for f in glob.glob(os.path.join('lib', '*')):
@@ -183,50 +183,50 @@
         pygame_data_files.append(f)
 
 #tests/fixtures
-add_datafiles(data_files, 'pygame/tests',
-              ['test',
-                  [['fixtures',
-                      [['xbm_cursors',
-                          ['*.xbm']]]]]])
+#add_datafiles(data_files, 'pygame/tests',
+#              ['test',
+#                  [['fixtures',
+#                      [['xbm_cursors',
+#                          ['*.xbm']]]]]])
 
 #examples
-add_datafiles(data_files, 'pygame/examples',
-              ['examples',
-                  ['readme.txt',
-                   ['data',
-                       ['*']],
-                   ['macosx',
-                       ['*.py',
-                        ['aliens_app_example',
-                            ['*.py',
-                             'README.txt',
-                             ['English.lproj',
-                                 ['aliens.icns',
-                                  ['MainMenu.nib',
-                                      ['*']]]]]]]]]])
+#add_datafiles(data_files, 'pygame/examples',
+#              ['examples',
+#                  ['readme.txt',
+#                   ['data',
+#                       ['*']],
+#                   ['macosx',
+#                       ['*.py',
+#                        ['aliens_app_example',
+#                            ['*.py',
+#                             'README.txt',
+#                             ['English.lproj',
+#                                 ['aliens.icns',
+#                                  ['MainMenu.nib',
+#                                      ['*']]]]]]]]]])
 
 #docs
-add_datafiles(data_files, 'pygame/docs',
-              ['docs',
-                  ['*.html',
-                   '*.gif',
-                   ['ref',
-                       ['*.html']],
-                   ['tut',
-                       ['*.html',
-                        ['chimp',
-                            ['*.html',
-                             '*.gif']],
-                        ['intro',
-                            ['*.html',
-                             '*.gif',
-                             '*.jpg']],
-                        ['surfarray',
-                            ['*.html',
-                             '*.jpg']],
-                        ['tom',
-                            ['*.html',
-                             '*.png']]]]]])
+#add_datafiles(data_files, 'pygame/docs',
+#              ['docs',
+#                  ['*.html',
+#                   '*.gif',
+#                   ['ref',
+#                       ['*.html']],
+#                   ['tut',
+#                       ['*.html',
+#                        ['chimp',
+#                            ['*.html',
+#                             '*.gif']],
+#                        ['intro',
+#                            ['*.html',
+#                             '*.gif',
+#                             '*.jpg']],
+#                        ['surfarray',
+#                            ['*.html',
+#                             '*.jpg']],
+#                        ['tom',
+#                            ['*.html',
+#                             '*.png']]]]]])
               
 #required. This will be filled if doing a Windows build.
 cmdclass = {}
@@ -461,27 +461,29 @@
 PACKAGEDATA = {
        "cmdclass":    cmdclass,
        "packages":    ['pygame', 'pygame.gp2x', 'pygame.threads',
-                       'pygame.tests',
-                       'pygame.tests.test_utils',
-                       'pygame.tests.run_tests__tests',
-                       'pygame.tests.run_tests__tests.all_ok',
-                       'pygame.tests.run_tests__tests.failures1',
-                       'pygame.tests.run_tests__tests.incomplete',
-                       'pygame.tests.run_tests__tests.infinite_loop',
-                       'pygame.tests.run_tests__tests.print_stderr',
-                       'pygame.tests.run_tests__tests.print_stdout',
-                       'pygame.tests.run_tests__tests.incomplete_todo',
-                       'pygame.tests.run_tests__tests.exclude',
-                       'pygame.tests.run_tests__tests.timeout',
-                       'pygame.tests.run_tests__tests.everything',
-                       'pygame.docs',
-                       'pygame.examples'],
+#                       'pygame.tests',
+#                       'pygame.tests.test_utils',
+#                       'pygame.tests.run_tests__tests',
+#                       'pygame.tests.run_tests__tests.all_ok',
+#                       'pygame.tests.run_tests__tests.failures1',
+#                       'pygame.tests.run_tests__tests.incomplete',
+#                       'pygame.tests.run_tests__tests.infinite_loop',
+#                       'pygame.tests.run_tests__tests.print_stderr',
+#                       'pygame.tests.run_tests__tests.print_stdout',
+#                       'pygame.tests.run_tests__tests.incomplete_todo',
+#                       'pygame.tests.run_tests__tests.exclude',
+#                       'pygame.tests.run_tests__tests.timeout',
+#                       'pygame.tests.run_tests__tests.everything',
+#                       'pygame.docs',
+#                       'pygame.examples'
+                       ],
        "package_dir": {'pygame': 'lib',
                        'pygame.threads': 'lib/threads',
                        'pygame.gp2x': 'lib/gp2x',
-                       'pygame.tests': 'test',
-                       'pygame.docs': 'docs',
-                       'pygame.examples': 'examples'},
+ #                      'pygame.tests': 'test',
+ #                      'pygame.docs': 'docs',
+ #                      'pygame.examples': 'examples'
+                       },
        "headers":     headers,
        "ext_modules": extensions,
        "data_files":  data_files,