comparison setup.py @ 39613:96bffce40f5b

setup: exclude vendored futures package on Python 3 The vendored future can't live on Python 3.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 14 Sep 2018 22:23:02 +0900
parents ec68135a8935
children ae531f5e583c
comparison
equal deleted inserted replaced
39612:053aa673947f 39613:96bffce40f5b
816 'mercurial.pure', 816 'mercurial.pure',
817 'mercurial.thirdparty', 817 'mercurial.thirdparty',
818 'mercurial.thirdparty.attr', 818 'mercurial.thirdparty.attr',
819 'mercurial.thirdparty.cbor', 819 'mercurial.thirdparty.cbor',
820 'mercurial.thirdparty.cbor.cbor2', 820 'mercurial.thirdparty.cbor.cbor2',
821 'mercurial.thirdparty.concurrent',
822 'mercurial.thirdparty.concurrent.futures',
823 'mercurial.thirdparty.zope', 821 'mercurial.thirdparty.zope',
824 'mercurial.thirdparty.zope.interface', 822 'mercurial.thirdparty.zope.interface',
825 'mercurial.utils', 823 'mercurial.utils',
826 'mercurial.revlogutils', 824 'mercurial.revlogutils',
827 'hgext', 'hgext.convert', 'hgext.fsmonitor', 825 'hgext', 'hgext.convert', 'hgext.fsmonitor',
830 'hgext.infinitepush', 828 'hgext.infinitepush',
831 'hgext.highlight', 829 'hgext.highlight',
832 'hgext.largefiles', 'hgext.lfs', 'hgext.narrow', 830 'hgext.largefiles', 'hgext.lfs', 'hgext.narrow',
833 'hgext.zeroconf', 'hgext3rd', 831 'hgext.zeroconf', 'hgext3rd',
834 'hgdemandimport'] 832 'hgdemandimport']
833 if sys.version_info[0] == 2:
834 packages.extend(['mercurial.thirdparty.concurrent',
835 'mercurial.thirdparty.concurrent.futures'])
835 836
836 common_depends = ['mercurial/bitmanipulation.h', 837 common_depends = ['mercurial/bitmanipulation.h',
837 'mercurial/compat.h', 838 'mercurial/compat.h',
838 'mercurial/cext/util.h'] 839 'mercurial/cext/util.h']
839 common_include_dirs = ['mercurial'] 840 common_include_dirs = ['mercurial']