Show More
@@ -0,0 +1,12 b'' | |||||
|
1 | @echo off | |||
|
2 | rem Windows Driver script for Mercurial | |||
|
3 | ||||
|
4 | setlocal | |||
|
5 | set HG=%~f0 | |||
|
6 | ||||
|
7 | rem Use a full path to Python (relative to this script) as the standard Python | |||
|
8 | rem install does not put python.exe on the PATH... | |||
|
9 | rem %~dp0 is the directory of this script | |||
|
10 | ||||
|
11 | %~dp0..\python "%~dp0hg" %* | |||
|
12 | endlocal |
@@ -19,6 +19,9 b' from distutils.ccompiler import new_comp' | |||||
19 | import mercurial.version |
|
19 | import mercurial.version | |
20 |
|
20 | |||
21 | extra = {} |
|
21 | extra = {} | |
|
22 | scripts = ['hg'] | |||
|
23 | if os.name == 'nt': | |||
|
24 | scripts.append('contrib/win32/hg.bat') | |||
22 |
|
25 | |||
23 | # simplified version of distutils.ccompiler.CCompiler.has_function |
|
26 | # simplified version of distutils.ccompiler.CCompiler.has_function | |
24 | # that actually removes its temporary files. |
|
27 | # that actually removes its temporary files. | |
@@ -119,7 +122,7 b" setup(name='mercurial'," | |||||
119 | url='http://selenic.com/mercurial', |
|
122 | url='http://selenic.com/mercurial', | |
120 | description='Scalable distributed SCM', |
|
123 | description='Scalable distributed SCM', | |
121 | license='GNU GPL', |
|
124 | license='GNU GPL', | |
122 |
scripts= |
|
125 | scripts=scripts, | |
123 | packages=packages, |
|
126 | packages=packages, | |
124 | ext_modules=ext_modules, |
|
127 | ext_modules=ext_modules, | |
125 | data_files=[(os.path.join('mercurial', root), |
|
128 | data_files=[(os.path.join('mercurial', root), |
General Comments 0
You need to be logged in to leave comments.
Login now