comparison setup.py @ 5623:fe31179e1941 stable

branching: merge into stable in preparation for release
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 31 Oct 2020 17:25:32 +0800
parents b3e178f3e31f
children 279c01842eca
comparison
equal deleted inserted replaced
5622:71cc223fd109 5623:fe31179e1941
1 import os
2 from distutils.core import setup 1 from distutils.core import setup
3 from os.path import dirname, join 2 from os.path import dirname, join
4 3
5 META_PATH = 'hgext3rd/evolve/metadata.py' 4 META_PATH = 'hgext3rd/evolve/metadata.py'
6 5
32 'hgext3rd': join(dirname(__file__), 'hgext3rd') 31 'hgext3rd': join(dirname(__file__), 'hgext3rd')
33 } 32 }
34 33
35 py_versions = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4' 34 py_versions = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4'
36 35
37 if os.environ.get('INCLUDE_INHIBIT'):
38 py_modules.append('hgext3rd.evolve.hack.inhibit')
39 py_modules.append('hgext3rd.evolve.hack.directaccess')
40
41 setup( 36 setup(
42 name='hg-evolve', 37 name='hg-evolve',
43 version=get_version(), 38 version=get_version(),
44 author='Pierre-Yves David', 39 author='Pierre-Yves David',
45 author_email='pierre-yves.david@ens-lyon.org', 40 author_email='pierre-yves.david@ens-lyon.org',
46 maintainer='Pierre-Yves David', 41 maintainer='Pierre-Yves David',
47 maintainer_email='pierre-yves.david@ens-lyon.org', 42 maintainer_email='pierre-yves.david@ens-lyon.org',
48 url='https://www.mercurial-scm.org/doc/evolution/', 43 url='https://www.mercurial-scm.org/doc/evolution/',
49 description='Flexible evolution of Mercurial history.', 44 description='Flexible evolution of Mercurial history.',
50 long_description=open(join(dirname(__file__), 'README')).read(), 45 long_description=open(join(dirname(__file__), 'README.rst')).read(),
51 keywords='hg mercurial', 46 keywords='hg mercurial',
52 license='GPLv2+', 47 license='GPLv2+',
53 py_modules=py_modules, 48 py_modules=py_modules,
54 packages=py_packages, 49 packages=py_packages,
55 package_dir=py_packagedir, 50 package_dir=py_packagedir,