equal
deleted
inserted
replaced
1 # This is the mercurial setup script. |
1 # This is the mercurial setup script. |
2 |
2 |
3 import os |
3 import os |
4 |
|
5 supportedpy = ','.join( |
|
6 [ |
|
7 '>=3.8.0', |
|
8 ] |
|
9 ) |
|
10 |
4 |
11 import sys |
5 import sys |
12 import platform |
6 import platform |
13 import sysconfig |
7 import sysconfig |
14 |
8 |
1786 py2exe_includes = [] |
1780 py2exe_includes = [] |
1787 |
1781 |
1788 py2exeexcludes = [] |
1782 py2exeexcludes = [] |
1789 py2exedllexcludes = ['crypt32.dll'] |
1783 py2exedllexcludes = ['crypt32.dll'] |
1790 |
1784 |
1791 if issetuptools: |
|
1792 extra['python_requires'] = supportedpy |
|
1793 |
|
1794 if py2exeloaded: |
1785 if py2exeloaded: |
1795 extra['console'] = [ |
1786 extra['console'] = [ |
1796 { |
1787 { |
1797 'script': 'hg', |
1788 'script': 'hg', |
1798 'copyright': 'Copyright (C) 2005-2024 Olivia Mackall and others', |
1789 'copyright': 'Copyright (C) 2005-2024 Olivia Mackall and others', |