Patchwork D8044: packaging: include __init__.py in `defaultrc` and `helptext` on Windows

login
register
mail settings
Submitter phabricator
Date Jan. 30, 2020, 6:58 a.m.
Message ID <differential-rev-PHID-DREV-se244ek5yxbjypv7kext-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/44768/
State Superseded
Headers show

Comments

phabricator - Jan. 30, 2020, 6:58 a.m.
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  I didn't notice anything going wrong, but it's probably bad to diverge from the
  source tree.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D8044

AFFECTED FILES
  contrib/packaging/hgpackaging/py2exe.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-devel
phabricator - Feb. 1, 2020, 12:33 a.m.
mharbison72 added a comment.
mharbison72 planned changes to this revision.


  These are read as files when using py2exe, so I'm not sure that we need this now.  I'm pulling this back until I get the rest of the packaging issues squared away.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8044/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8044

To: mharbison72, #hg-reviewers
Cc: mercurial-devel
phabricator - Feb. 3, 2020, 6:34 a.m.
mharbison72 added a comment.
mharbison72 abandoned this revision.


  Obsoleted by D8058 <https://phab.mercurial-scm.org/D8058>, which stops treating these as resources with py2exe.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8044/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8044

To: mharbison72, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/contrib/packaging/hgpackaging/py2exe.py b/contrib/packaging/hgpackaging/py2exe.py
--- a/contrib/packaging/hgpackaging/py2exe.py
+++ b/contrib/packaging/hgpackaging/py2exe.py
@@ -45,7 +45,9 @@ 
     ('doc/*.html', 'doc/'),
     ('doc/style.css', 'doc/'),
     ('mercurial/helptext/**/*.txt', 'helptext/'),
+    ('mercurial/helptext/**/__init__.py', 'helptext/'),
     ('mercurial/defaultrc/*.rc', 'defaultrc/'),
+    ('mercurial/defaultrc/__init__.py', 'defaultrc/'),
     ('mercurial/locale/**/*', 'locale/'),
     ('mercurial/templates/**/*', 'Templates/'),
     ('COPYING', 'Copying.txt'),