comparison hgext3rd/__init__.py @ 1901:85390446f8c1

packaging: fix setup.py and install as hgext3rd.topic This changeset is doing two things (gasp): - It fixes various errors in the setup.py - It move the topic source and install into hgext3rd.topic. This last part (code source move) use hgext3rd as namespace package to prevent installation nightmare. This won't be officially supported until Mercurial 3.8, but in the meantime, 3.7 user can enable it using the full package name: [extensions] hgext3rd.topic= Thanks goes to Julien Cristau <julien.cristau@logilab.fr> for the initial version of this.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 17 Mar 2016 09:12:18 -0700
parents
children 143c8e4dc22d
comparison
equal deleted inserted replaced
1899:b65f39791f92 1901:85390446f8c1
1 from __future__ import absolute_import
2 import pkgutil
3 __path__ = pkgutil.extend_path(__path__, __name__)