Mercurial > evolve
annotate hgext3rd/__init__.py @ 6858:37844623df8c stable
tests: accommodate both "hg-evolve" and "hg_evolve" in tarballs
Looks like current distutils (or maybe setuptools, I'm not an expert) that are
available in Debian Testing create tarballs that have an underscore instead of
a hyphen in the name.
The paths inside the tarball are also different, so we need to change the sed
instruction too.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 09 Sep 2024 18:19:36 +0400 |
parents | 143c8e4dc22d |
children |
rev | line source |
---|---|
1806
9f42f819267b
evolve: move the extensions to 'hgext3rd'
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
diff
changeset
|
1 # name space package to host third party extensions |
1901
85390446f8c1
packaging: fix setup.py and install as hgext3rd.topic
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
2 from __future__ import absolute_import |
85390446f8c1
packaging: fix setup.py and install as hgext3rd.topic
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
3 import pkgutil |
85390446f8c1
packaging: fix setup.py and install as hgext3rd.topic
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
4 __path__ = pkgutil.extend_path(__path__, __name__) |