Show More
@@ -208,20 +208,12 b' ext_modules=[' | |||
|
208 | 208 | Extension('mercurial.diffhelpers', ['mercurial/diffhelpers.c']), |
|
209 | 209 | Extension('mercurial.mpatch', ['mercurial/mpatch.c']), |
|
210 | 210 | Extension('mercurial.parsers', ['mercurial/parsers.c']), |
|
211 | Extension('mercurial.osutil', ['mercurial/osutil.c']), | |
|
211 | 212 | ] |
|
212 | 213 | |
|
213 | 214 | packages = ['mercurial', 'mercurial.hgweb', 'hgext', 'hgext.convert', |
|
214 | 215 | 'hgext.highlight', 'hgext.zeroconf', ] |
|
215 | 216 | |
|
216 | try: | |
|
217 | import msvcrt | |
|
218 | ext_modules.append(Extension('mercurial.osutil', ['mercurial/osutil.c'])) | |
|
219 | except ImportError: | |
|
220 | pass | |
|
221 | ||
|
222 | try: | |
|
223 | ext_modules.append(Extension('mercurial.osutil', ['mercurial/osutil.c'])) | |
|
224 | ||
|
225 | 217 |
|
|
226 | 218 |
|
|
227 | 219 |
|
@@ -230,8 +222,6 b' try:' | |||
|
230 | 222 |
|
|
231 | 223 |
|
|
232 | 224 |
|
|
233 | except ImportError: | |
|
234 | pass | |
|
235 | 225 | |
|
236 | 226 | datafiles = [] |
|
237 | 227 | for root in ('templates', 'i18n'): |
General Comments 0
You need to be logged in to leave comments.
Login now