Show More
@@ -8,12 +8,12 b'' | |||||
8 |
|
8 | |||
9 | import os, cgi, sys |
|
9 | import os, cgi, sys | |
10 | import mimetypes |
|
10 | import mimetypes | |
11 | from demandload import demandload |
|
11 | from mercurial.demandload import demandload | |
12 |
demandload(globals(), " |
|
12 | demandload(globals(), "time re socket zlib errno ConfigParser tempfile") | |
13 |
demandload(globals(), " |
|
13 | demandload(globals(), "StringIO BaseHTTPServer SocketServer urllib") | |
14 |
demandload(globals(), " |
|
14 | demandload(globals(), "mercurial:mdiff,ui,hg,util,archival,templater") | |
15 | from node import * |
|
15 | from mercurial.node import * | |
16 | from i18n import gettext as _ |
|
16 | from mercurial.i18n import gettext as _ | |
17 |
|
17 | |||
18 | def splitURI(uri): |
|
18 | def splitURI(uri): | |
19 | """ Return path and query splited from uri |
|
19 | """ Return path and query splited from uri |
@@ -57,6 +57,8 b' try:' | |||||
57 | self.includes += mercurial.packagescan.getmodules(self.build_lib, |
|
57 | self.includes += mercurial.packagescan.getmodules(self.build_lib, | |
58 | 'mercurial') |
|
58 | 'mercurial') | |
59 | self.includes += mercurial.packagescan.getmodules(self.build_lib, |
|
59 | self.includes += mercurial.packagescan.getmodules(self.build_lib, | |
|
60 | 'mercurial/hgweb') | |||
|
61 | self.includes += mercurial.packagescan.getmodules(self.build_lib, | |||
60 | 'hgext') |
|
62 | 'hgext') | |
61 | build_exe.finalize_options(self) |
|
63 | build_exe.finalize_options(self) | |
62 | except ImportError: |
|
64 | except ImportError: | |
@@ -85,7 +87,7 b" setup(name='mercurial'," | |||||
85 | url='http://selenic.com/mercurial', |
|
87 | url='http://selenic.com/mercurial', | |
86 | description='Scalable distributed SCM', |
|
88 | description='Scalable distributed SCM', | |
87 | license='GNU GPL', |
|
89 | license='GNU GPL', | |
88 | packages=['mercurial', 'hgext'], |
|
90 | packages=['mercurial', 'mercurial.hgweb', 'hgext'], | |
89 | ext_modules=[Extension('mercurial.mpatch', ['mercurial/mpatch.c']), |
|
91 | ext_modules=[Extension('mercurial.mpatch', ['mercurial/mpatch.c']), | |
90 | Extension('mercurial.bdiff', ['mercurial/bdiff.c'])], |
|
92 | Extension('mercurial.bdiff', ['mercurial/bdiff.c'])], | |
91 | data_files=[('mercurial/templates', |
|
93 | data_files=[('mercurial/templates', |
General Comments 0
You need to be logged in to leave comments.
Login now