##// END OF EJS Templates
setup: install translation files as package data...
Dan Villiom Podlaski Christiansen -
r9999:f91e5630 default
parent child Browse files
Show More
1 NO CONTENT: file renamed from help/config.txt to mercurial/help/config.txt
NO CONTENT: file renamed from help/config.txt to mercurial/help/config.txt
1 NO CONTENT: file renamed from help/dates.txt to mercurial/help/dates.txt
NO CONTENT: file renamed from help/dates.txt to mercurial/help/dates.txt
1 NO CONTENT: file renamed from help/diffs.txt to mercurial/help/diffs.txt
NO CONTENT: file renamed from help/diffs.txt to mercurial/help/diffs.txt
1 NO CONTENT: file renamed from help/environment.txt to mercurial/help/environment.txt
NO CONTENT: file renamed from help/environment.txt to mercurial/help/environment.txt
1 NO CONTENT: file renamed from help/extensions.txt to mercurial/help/extensions.txt
NO CONTENT: file renamed from help/extensions.txt to mercurial/help/extensions.txt
1 NO CONTENT: file renamed from help/multirevs.txt to mercurial/help/multirevs.txt
NO CONTENT: file renamed from help/multirevs.txt to mercurial/help/multirevs.txt
1 NO CONTENT: file renamed from help/patterns.txt to mercurial/help/patterns.txt
NO CONTENT: file renamed from help/patterns.txt to mercurial/help/patterns.txt
1 NO CONTENT: file renamed from help/revisions.txt to mercurial/help/revisions.txt
NO CONTENT: file renamed from help/revisions.txt to mercurial/help/revisions.txt
1 NO CONTENT: file renamed from help/templates.txt to mercurial/help/templates.txt
NO CONTENT: file renamed from help/templates.txt to mercurial/help/templates.txt
1 NO CONTENT: file renamed from help/urls.txt to mercurial/help/urls.txt
NO CONTENT: file renamed from help/urls.txt to mercurial/help/urls.txt
1 NO CONTENT: file renamed from templates/atom/changelog.tmpl to mercurial/templates/atom/changelog.tmpl
NO CONTENT: file renamed from templates/atom/changelog.tmpl to mercurial/templates/atom/changelog.tmpl
1 NO CONTENT: file renamed from templates/atom/changelogentry.tmpl to mercurial/templates/atom/changelogentry.tmpl
NO CONTENT: file renamed from templates/atom/changelogentry.tmpl to mercurial/templates/atom/changelogentry.tmpl
1 NO CONTENT: file renamed from templates/atom/error.tmpl to mercurial/templates/atom/error.tmpl
NO CONTENT: file renamed from templates/atom/error.tmpl to mercurial/templates/atom/error.tmpl
1 NO CONTENT: file renamed from templates/atom/filelog.tmpl to mercurial/templates/atom/filelog.tmpl
NO CONTENT: file renamed from templates/atom/filelog.tmpl to mercurial/templates/atom/filelog.tmpl
1 NO CONTENT: file renamed from templates/atom/header.tmpl to mercurial/templates/atom/header.tmpl
NO CONTENT: file renamed from templates/atom/header.tmpl to mercurial/templates/atom/header.tmpl
1 NO CONTENT: file renamed from templates/atom/map to mercurial/templates/atom/map
NO CONTENT: file renamed from templates/atom/map to mercurial/templates/atom/map
1 NO CONTENT: file renamed from templates/atom/tagentry.tmpl to mercurial/templates/atom/tagentry.tmpl
NO CONTENT: file renamed from templates/atom/tagentry.tmpl to mercurial/templates/atom/tagentry.tmpl
1 NO CONTENT: file renamed from templates/atom/tags.tmpl to mercurial/templates/atom/tags.tmpl
NO CONTENT: file renamed from templates/atom/tags.tmpl to mercurial/templates/atom/tags.tmpl
1 NO CONTENT: file renamed from templates/coal/header.tmpl to mercurial/templates/coal/header.tmpl
NO CONTENT: file renamed from templates/coal/header.tmpl to mercurial/templates/coal/header.tmpl
1 NO CONTENT: file renamed from templates/coal/map to mercurial/templates/coal/map
NO CONTENT: file renamed from templates/coal/map to mercurial/templates/coal/map
1 NO CONTENT: file renamed from templates/gitweb/branches.tmpl to mercurial/templates/gitweb/branches.tmpl
NO CONTENT: file renamed from templates/gitweb/branches.tmpl to mercurial/templates/gitweb/branches.tmpl
1 NO CONTENT: file renamed from templates/gitweb/changelog.tmpl to mercurial/templates/gitweb/changelog.tmpl
NO CONTENT: file renamed from templates/gitweb/changelog.tmpl to mercurial/templates/gitweb/changelog.tmpl
1 NO CONTENT: file renamed from templates/gitweb/changelogentry.tmpl to mercurial/templates/gitweb/changelogentry.tmpl
NO CONTENT: file renamed from templates/gitweb/changelogentry.tmpl to mercurial/templates/gitweb/changelogentry.tmpl
1 NO CONTENT: file renamed from templates/gitweb/changeset.tmpl to mercurial/templates/gitweb/changeset.tmpl
NO CONTENT: file renamed from templates/gitweb/changeset.tmpl to mercurial/templates/gitweb/changeset.tmpl
1 NO CONTENT: file renamed from templates/gitweb/error.tmpl to mercurial/templates/gitweb/error.tmpl
NO CONTENT: file renamed from templates/gitweb/error.tmpl to mercurial/templates/gitweb/error.tmpl
1 NO CONTENT: file renamed from templates/gitweb/fileannotate.tmpl to mercurial/templates/gitweb/fileannotate.tmpl
NO CONTENT: file renamed from templates/gitweb/fileannotate.tmpl to mercurial/templates/gitweb/fileannotate.tmpl
1 NO CONTENT: file renamed from templates/gitweb/filediff.tmpl to mercurial/templates/gitweb/filediff.tmpl
NO CONTENT: file renamed from templates/gitweb/filediff.tmpl to mercurial/templates/gitweb/filediff.tmpl
1 NO CONTENT: file renamed from templates/gitweb/filelog.tmpl to mercurial/templates/gitweb/filelog.tmpl
NO CONTENT: file renamed from templates/gitweb/filelog.tmpl to mercurial/templates/gitweb/filelog.tmpl
1 NO CONTENT: file renamed from templates/gitweb/filerevision.tmpl to mercurial/templates/gitweb/filerevision.tmpl
NO CONTENT: file renamed from templates/gitweb/filerevision.tmpl to mercurial/templates/gitweb/filerevision.tmpl
1 NO CONTENT: file renamed from templates/gitweb/footer.tmpl to mercurial/templates/gitweb/footer.tmpl
NO CONTENT: file renamed from templates/gitweb/footer.tmpl to mercurial/templates/gitweb/footer.tmpl
1 NO CONTENT: file renamed from templates/gitweb/graph.tmpl to mercurial/templates/gitweb/graph.tmpl
NO CONTENT: file renamed from templates/gitweb/graph.tmpl to mercurial/templates/gitweb/graph.tmpl
1 NO CONTENT: file renamed from templates/gitweb/header.tmpl to mercurial/templates/gitweb/header.tmpl
NO CONTENT: file renamed from templates/gitweb/header.tmpl to mercurial/templates/gitweb/header.tmpl
1 NO CONTENT: file renamed from templates/gitweb/index.tmpl to mercurial/templates/gitweb/index.tmpl
NO CONTENT: file renamed from templates/gitweb/index.tmpl to mercurial/templates/gitweb/index.tmpl
1 NO CONTENT: file renamed from templates/gitweb/manifest.tmpl to mercurial/templates/gitweb/manifest.tmpl
NO CONTENT: file renamed from templates/gitweb/manifest.tmpl to mercurial/templates/gitweb/manifest.tmpl
1 NO CONTENT: file renamed from templates/gitweb/map to mercurial/templates/gitweb/map
NO CONTENT: file renamed from templates/gitweb/map to mercurial/templates/gitweb/map
1 NO CONTENT: file renamed from templates/gitweb/notfound.tmpl to mercurial/templates/gitweb/notfound.tmpl
NO CONTENT: file renamed from templates/gitweb/notfound.tmpl to mercurial/templates/gitweb/notfound.tmpl
1 NO CONTENT: file renamed from templates/gitweb/search.tmpl to mercurial/templates/gitweb/search.tmpl
NO CONTENT: file renamed from templates/gitweb/search.tmpl to mercurial/templates/gitweb/search.tmpl
1 NO CONTENT: file renamed from templates/gitweb/shortlog.tmpl to mercurial/templates/gitweb/shortlog.tmpl
NO CONTENT: file renamed from templates/gitweb/shortlog.tmpl to mercurial/templates/gitweb/shortlog.tmpl
1 NO CONTENT: file renamed from templates/gitweb/summary.tmpl to mercurial/templates/gitweb/summary.tmpl
NO CONTENT: file renamed from templates/gitweb/summary.tmpl to mercurial/templates/gitweb/summary.tmpl
1 NO CONTENT: file renamed from templates/gitweb/tags.tmpl to mercurial/templates/gitweb/tags.tmpl
NO CONTENT: file renamed from templates/gitweb/tags.tmpl to mercurial/templates/gitweb/tags.tmpl
1 NO CONTENT: file renamed from templates/map-cmdline.changelog to mercurial/templates/map-cmdline.changelog
NO CONTENT: file renamed from templates/map-cmdline.changelog to mercurial/templates/map-cmdline.changelog
1 NO CONTENT: file renamed from templates/map-cmdline.compact to mercurial/templates/map-cmdline.compact
NO CONTENT: file renamed from templates/map-cmdline.compact to mercurial/templates/map-cmdline.compact
1 NO CONTENT: file renamed from templates/map-cmdline.default to mercurial/templates/map-cmdline.default
NO CONTENT: file renamed from templates/map-cmdline.default to mercurial/templates/map-cmdline.default
1 NO CONTENT: file renamed from templates/monoblue/branches.tmpl to mercurial/templates/monoblue/branches.tmpl
NO CONTENT: file renamed from templates/monoblue/branches.tmpl to mercurial/templates/monoblue/branches.tmpl
1 NO CONTENT: file renamed from templates/monoblue/changelog.tmpl to mercurial/templates/monoblue/changelog.tmpl
NO CONTENT: file renamed from templates/monoblue/changelog.tmpl to mercurial/templates/monoblue/changelog.tmpl
1 NO CONTENT: file renamed from templates/monoblue/changelogentry.tmpl to mercurial/templates/monoblue/changelogentry.tmpl
NO CONTENT: file renamed from templates/monoblue/changelogentry.tmpl to mercurial/templates/monoblue/changelogentry.tmpl
1 NO CONTENT: file renamed from templates/monoblue/changeset.tmpl to mercurial/templates/monoblue/changeset.tmpl
NO CONTENT: file renamed from templates/monoblue/changeset.tmpl to mercurial/templates/monoblue/changeset.tmpl
1 NO CONTENT: file renamed from templates/monoblue/error.tmpl to mercurial/templates/monoblue/error.tmpl
NO CONTENT: file renamed from templates/monoblue/error.tmpl to mercurial/templates/monoblue/error.tmpl
1 NO CONTENT: file renamed from templates/monoblue/fileannotate.tmpl to mercurial/templates/monoblue/fileannotate.tmpl
NO CONTENT: file renamed from templates/monoblue/fileannotate.tmpl to mercurial/templates/monoblue/fileannotate.tmpl
1 NO CONTENT: file renamed from templates/monoblue/filediff.tmpl to mercurial/templates/monoblue/filediff.tmpl
NO CONTENT: file renamed from templates/monoblue/filediff.tmpl to mercurial/templates/monoblue/filediff.tmpl
1 NO CONTENT: file renamed from templates/monoblue/filelog.tmpl to mercurial/templates/monoblue/filelog.tmpl
NO CONTENT: file renamed from templates/monoblue/filelog.tmpl to mercurial/templates/monoblue/filelog.tmpl
1 NO CONTENT: file renamed from templates/monoblue/filerevision.tmpl to mercurial/templates/monoblue/filerevision.tmpl
NO CONTENT: file renamed from templates/monoblue/filerevision.tmpl to mercurial/templates/monoblue/filerevision.tmpl
1 NO CONTENT: file renamed from templates/monoblue/footer.tmpl to mercurial/templates/monoblue/footer.tmpl
NO CONTENT: file renamed from templates/monoblue/footer.tmpl to mercurial/templates/monoblue/footer.tmpl
1 NO CONTENT: file renamed from templates/monoblue/graph.tmpl to mercurial/templates/monoblue/graph.tmpl
NO CONTENT: file renamed from templates/monoblue/graph.tmpl to mercurial/templates/monoblue/graph.tmpl
1 NO CONTENT: file renamed from templates/monoblue/header.tmpl to mercurial/templates/monoblue/header.tmpl
NO CONTENT: file renamed from templates/monoblue/header.tmpl to mercurial/templates/monoblue/header.tmpl
1 NO CONTENT: file renamed from templates/monoblue/index.tmpl to mercurial/templates/monoblue/index.tmpl
NO CONTENT: file renamed from templates/monoblue/index.tmpl to mercurial/templates/monoblue/index.tmpl
1 NO CONTENT: file renamed from templates/monoblue/manifest.tmpl to mercurial/templates/monoblue/manifest.tmpl
NO CONTENT: file renamed from templates/monoblue/manifest.tmpl to mercurial/templates/monoblue/manifest.tmpl
1 NO CONTENT: file renamed from templates/monoblue/map to mercurial/templates/monoblue/map
NO CONTENT: file renamed from templates/monoblue/map to mercurial/templates/monoblue/map
1 NO CONTENT: file renamed from templates/monoblue/notfound.tmpl to mercurial/templates/monoblue/notfound.tmpl
NO CONTENT: file renamed from templates/monoblue/notfound.tmpl to mercurial/templates/monoblue/notfound.tmpl
1 NO CONTENT: file renamed from templates/monoblue/search.tmpl to mercurial/templates/monoblue/search.tmpl
NO CONTENT: file renamed from templates/monoblue/search.tmpl to mercurial/templates/monoblue/search.tmpl
1 NO CONTENT: file renamed from templates/monoblue/shortlog.tmpl to mercurial/templates/monoblue/shortlog.tmpl
NO CONTENT: file renamed from templates/monoblue/shortlog.tmpl to mercurial/templates/monoblue/shortlog.tmpl
1 NO CONTENT: file renamed from templates/monoblue/summary.tmpl to mercurial/templates/monoblue/summary.tmpl
NO CONTENT: file renamed from templates/monoblue/summary.tmpl to mercurial/templates/monoblue/summary.tmpl
1 NO CONTENT: file renamed from templates/monoblue/tags.tmpl to mercurial/templates/monoblue/tags.tmpl
NO CONTENT: file renamed from templates/monoblue/tags.tmpl to mercurial/templates/monoblue/tags.tmpl
1 NO CONTENT: file renamed from templates/paper/branches.tmpl to mercurial/templates/paper/branches.tmpl
NO CONTENT: file renamed from templates/paper/branches.tmpl to mercurial/templates/paper/branches.tmpl
1 NO CONTENT: file renamed from templates/paper/changeset.tmpl to mercurial/templates/paper/changeset.tmpl
NO CONTENT: file renamed from templates/paper/changeset.tmpl to mercurial/templates/paper/changeset.tmpl
1 NO CONTENT: file renamed from templates/paper/error.tmpl to mercurial/templates/paper/error.tmpl
NO CONTENT: file renamed from templates/paper/error.tmpl to mercurial/templates/paper/error.tmpl
1 NO CONTENT: file renamed from templates/paper/fileannotate.tmpl to mercurial/templates/paper/fileannotate.tmpl
NO CONTENT: file renamed from templates/paper/fileannotate.tmpl to mercurial/templates/paper/fileannotate.tmpl
1 NO CONTENT: file renamed from templates/paper/filediff.tmpl to mercurial/templates/paper/filediff.tmpl
NO CONTENT: file renamed from templates/paper/filediff.tmpl to mercurial/templates/paper/filediff.tmpl
1 NO CONTENT: file renamed from templates/paper/filelog.tmpl to mercurial/templates/paper/filelog.tmpl
NO CONTENT: file renamed from templates/paper/filelog.tmpl to mercurial/templates/paper/filelog.tmpl
1 NO CONTENT: file renamed from templates/paper/filelogentry.tmpl to mercurial/templates/paper/filelogentry.tmpl
NO CONTENT: file renamed from templates/paper/filelogentry.tmpl to mercurial/templates/paper/filelogentry.tmpl
1 NO CONTENT: file renamed from templates/paper/filerevision.tmpl to mercurial/templates/paper/filerevision.tmpl
NO CONTENT: file renamed from templates/paper/filerevision.tmpl to mercurial/templates/paper/filerevision.tmpl
1 NO CONTENT: file renamed from templates/paper/footer.tmpl to mercurial/templates/paper/footer.tmpl
NO CONTENT: file renamed from templates/paper/footer.tmpl to mercurial/templates/paper/footer.tmpl
1 NO CONTENT: file renamed from templates/paper/graph.tmpl to mercurial/templates/paper/graph.tmpl
NO CONTENT: file renamed from templates/paper/graph.tmpl to mercurial/templates/paper/graph.tmpl
1 NO CONTENT: file renamed from templates/paper/header.tmpl to mercurial/templates/paper/header.tmpl
NO CONTENT: file renamed from templates/paper/header.tmpl to mercurial/templates/paper/header.tmpl
1 NO CONTENT: file renamed from templates/paper/index.tmpl to mercurial/templates/paper/index.tmpl
NO CONTENT: file renamed from templates/paper/index.tmpl to mercurial/templates/paper/index.tmpl
1 NO CONTENT: file renamed from templates/paper/manifest.tmpl to mercurial/templates/paper/manifest.tmpl
NO CONTENT: file renamed from templates/paper/manifest.tmpl to mercurial/templates/paper/manifest.tmpl
1 NO CONTENT: file renamed from templates/paper/map to mercurial/templates/paper/map
NO CONTENT: file renamed from templates/paper/map to mercurial/templates/paper/map
1 NO CONTENT: file renamed from templates/paper/notfound.tmpl to mercurial/templates/paper/notfound.tmpl
NO CONTENT: file renamed from templates/paper/notfound.tmpl to mercurial/templates/paper/notfound.tmpl
1 NO CONTENT: file renamed from templates/paper/search.tmpl to mercurial/templates/paper/search.tmpl
NO CONTENT: file renamed from templates/paper/search.tmpl to mercurial/templates/paper/search.tmpl
1 NO CONTENT: file renamed from templates/paper/shortlog.tmpl to mercurial/templates/paper/shortlog.tmpl
NO CONTENT: file renamed from templates/paper/shortlog.tmpl to mercurial/templates/paper/shortlog.tmpl
1 NO CONTENT: file renamed from templates/paper/shortlogentry.tmpl to mercurial/templates/paper/shortlogentry.tmpl
NO CONTENT: file renamed from templates/paper/shortlogentry.tmpl to mercurial/templates/paper/shortlogentry.tmpl
1 NO CONTENT: file renamed from templates/paper/tags.tmpl to mercurial/templates/paper/tags.tmpl
NO CONTENT: file renamed from templates/paper/tags.tmpl to mercurial/templates/paper/tags.tmpl
1 NO CONTENT: file renamed from templates/raw/changeset.tmpl to mercurial/templates/raw/changeset.tmpl
NO CONTENT: file renamed from templates/raw/changeset.tmpl to mercurial/templates/raw/changeset.tmpl
1 NO CONTENT: file renamed from templates/raw/error.tmpl to mercurial/templates/raw/error.tmpl
NO CONTENT: file renamed from templates/raw/error.tmpl to mercurial/templates/raw/error.tmpl
1 NO CONTENT: file renamed from templates/raw/fileannotate.tmpl to mercurial/templates/raw/fileannotate.tmpl
NO CONTENT: file renamed from templates/raw/fileannotate.tmpl to mercurial/templates/raw/fileannotate.tmpl
1 NO CONTENT: file renamed from templates/raw/filediff.tmpl to mercurial/templates/raw/filediff.tmpl
NO CONTENT: file renamed from templates/raw/filediff.tmpl to mercurial/templates/raw/filediff.tmpl
1 NO CONTENT: file renamed from templates/raw/index.tmpl to mercurial/templates/raw/index.tmpl
NO CONTENT: file renamed from templates/raw/index.tmpl to mercurial/templates/raw/index.tmpl
1 NO CONTENT: file renamed from templates/raw/manifest.tmpl to mercurial/templates/raw/manifest.tmpl
NO CONTENT: file renamed from templates/raw/manifest.tmpl to mercurial/templates/raw/manifest.tmpl
1 NO CONTENT: file renamed from templates/raw/map to mercurial/templates/raw/map
NO CONTENT: file renamed from templates/raw/map to mercurial/templates/raw/map
1 NO CONTENT: file renamed from templates/raw/notfound.tmpl to mercurial/templates/raw/notfound.tmpl
NO CONTENT: file renamed from templates/raw/notfound.tmpl to mercurial/templates/raw/notfound.tmpl
1 NO CONTENT: file renamed from templates/rss/changelog.tmpl to mercurial/templates/rss/changelog.tmpl
NO CONTENT: file renamed from templates/rss/changelog.tmpl to mercurial/templates/rss/changelog.tmpl
1 NO CONTENT: file renamed from templates/rss/changelogentry.tmpl to mercurial/templates/rss/changelogentry.tmpl
NO CONTENT: file renamed from templates/rss/changelogentry.tmpl to mercurial/templates/rss/changelogentry.tmpl
1 NO CONTENT: file renamed from templates/rss/error.tmpl to mercurial/templates/rss/error.tmpl
NO CONTENT: file renamed from templates/rss/error.tmpl to mercurial/templates/rss/error.tmpl
1 NO CONTENT: file renamed from templates/rss/filelog.tmpl to mercurial/templates/rss/filelog.tmpl
NO CONTENT: file renamed from templates/rss/filelog.tmpl to mercurial/templates/rss/filelog.tmpl
1 NO CONTENT: file renamed from templates/rss/filelogentry.tmpl to mercurial/templates/rss/filelogentry.tmpl
NO CONTENT: file renamed from templates/rss/filelogentry.tmpl to mercurial/templates/rss/filelogentry.tmpl
1 NO CONTENT: file renamed from templates/rss/header.tmpl to mercurial/templates/rss/header.tmpl
NO CONTENT: file renamed from templates/rss/header.tmpl to mercurial/templates/rss/header.tmpl
1 NO CONTENT: file renamed from templates/rss/map to mercurial/templates/rss/map
NO CONTENT: file renamed from templates/rss/map to mercurial/templates/rss/map
1 NO CONTENT: file renamed from templates/rss/tagentry.tmpl to mercurial/templates/rss/tagentry.tmpl
NO CONTENT: file renamed from templates/rss/tagentry.tmpl to mercurial/templates/rss/tagentry.tmpl
1 NO CONTENT: file renamed from templates/rss/tags.tmpl to mercurial/templates/rss/tags.tmpl
NO CONTENT: file renamed from templates/rss/tags.tmpl to mercurial/templates/rss/tags.tmpl
1 NO CONTENT: file renamed from templates/spartan/branches.tmpl to mercurial/templates/spartan/branches.tmpl
NO CONTENT: file renamed from templates/spartan/branches.tmpl to mercurial/templates/spartan/branches.tmpl
1 NO CONTENT: file renamed from templates/spartan/changelog.tmpl to mercurial/templates/spartan/changelog.tmpl
NO CONTENT: file renamed from templates/spartan/changelog.tmpl to mercurial/templates/spartan/changelog.tmpl
1 NO CONTENT: file renamed from templates/spartan/changelogentry.tmpl to mercurial/templates/spartan/changelogentry.tmpl
NO CONTENT: file renamed from templates/spartan/changelogentry.tmpl to mercurial/templates/spartan/changelogentry.tmpl
1 NO CONTENT: file renamed from templates/spartan/changeset.tmpl to mercurial/templates/spartan/changeset.tmpl
NO CONTENT: file renamed from templates/spartan/changeset.tmpl to mercurial/templates/spartan/changeset.tmpl
1 NO CONTENT: file renamed from templates/spartan/error.tmpl to mercurial/templates/spartan/error.tmpl
NO CONTENT: file renamed from templates/spartan/error.tmpl to mercurial/templates/spartan/error.tmpl
1 NO CONTENT: file renamed from templates/spartan/fileannotate.tmpl to mercurial/templates/spartan/fileannotate.tmpl
NO CONTENT: file renamed from templates/spartan/fileannotate.tmpl to mercurial/templates/spartan/fileannotate.tmpl
1 NO CONTENT: file renamed from templates/spartan/filediff.tmpl to mercurial/templates/spartan/filediff.tmpl
NO CONTENT: file renamed from templates/spartan/filediff.tmpl to mercurial/templates/spartan/filediff.tmpl
1 NO CONTENT: file renamed from templates/spartan/filelog.tmpl to mercurial/templates/spartan/filelog.tmpl
NO CONTENT: file renamed from templates/spartan/filelog.tmpl to mercurial/templates/spartan/filelog.tmpl
1 NO CONTENT: file renamed from templates/spartan/filelogentry.tmpl to mercurial/templates/spartan/filelogentry.tmpl
NO CONTENT: file renamed from templates/spartan/filelogentry.tmpl to mercurial/templates/spartan/filelogentry.tmpl
1 NO CONTENT: file renamed from templates/spartan/filerevision.tmpl to mercurial/templates/spartan/filerevision.tmpl
NO CONTENT: file renamed from templates/spartan/filerevision.tmpl to mercurial/templates/spartan/filerevision.tmpl
1 NO CONTENT: file renamed from templates/spartan/footer.tmpl to mercurial/templates/spartan/footer.tmpl
NO CONTENT: file renamed from templates/spartan/footer.tmpl to mercurial/templates/spartan/footer.tmpl
1 NO CONTENT: file renamed from templates/spartan/graph.tmpl to mercurial/templates/spartan/graph.tmpl
NO CONTENT: file renamed from templates/spartan/graph.tmpl to mercurial/templates/spartan/graph.tmpl
1 NO CONTENT: file renamed from templates/spartan/header.tmpl to mercurial/templates/spartan/header.tmpl
NO CONTENT: file renamed from templates/spartan/header.tmpl to mercurial/templates/spartan/header.tmpl
1 NO CONTENT: file renamed from templates/spartan/index.tmpl to mercurial/templates/spartan/index.tmpl
NO CONTENT: file renamed from templates/spartan/index.tmpl to mercurial/templates/spartan/index.tmpl
1 NO CONTENT: file renamed from templates/spartan/manifest.tmpl to mercurial/templates/spartan/manifest.tmpl
NO CONTENT: file renamed from templates/spartan/manifest.tmpl to mercurial/templates/spartan/manifest.tmpl
1 NO CONTENT: file renamed from templates/spartan/map to mercurial/templates/spartan/map
NO CONTENT: file renamed from templates/spartan/map to mercurial/templates/spartan/map
1 NO CONTENT: file renamed from templates/spartan/notfound.tmpl to mercurial/templates/spartan/notfound.tmpl
NO CONTENT: file renamed from templates/spartan/notfound.tmpl to mercurial/templates/spartan/notfound.tmpl
1 NO CONTENT: file renamed from templates/spartan/search.tmpl to mercurial/templates/spartan/search.tmpl
NO CONTENT: file renamed from templates/spartan/search.tmpl to mercurial/templates/spartan/search.tmpl
1 NO CONTENT: file renamed from templates/spartan/shortlog.tmpl to mercurial/templates/spartan/shortlog.tmpl
NO CONTENT: file renamed from templates/spartan/shortlog.tmpl to mercurial/templates/spartan/shortlog.tmpl
1 NO CONTENT: file renamed from templates/spartan/shortlogentry.tmpl to mercurial/templates/spartan/shortlogentry.tmpl
NO CONTENT: file renamed from templates/spartan/shortlogentry.tmpl to mercurial/templates/spartan/shortlogentry.tmpl
1 NO CONTENT: file renamed from templates/spartan/tags.tmpl to mercurial/templates/spartan/tags.tmpl
NO CONTENT: file renamed from templates/spartan/tags.tmpl to mercurial/templates/spartan/tags.tmpl
1 NO CONTENT: file renamed from templates/static/background.png to mercurial/templates/static/background.png
NO CONTENT: file renamed from templates/static/background.png to mercurial/templates/static/background.png
1 NO CONTENT: file renamed from templates/static/coal-file.png to mercurial/templates/static/coal-file.png
NO CONTENT: file renamed from templates/static/coal-file.png to mercurial/templates/static/coal-file.png
1 NO CONTENT: file renamed from templates/static/coal-folder.png to mercurial/templates/static/coal-folder.png
NO CONTENT: file renamed from templates/static/coal-folder.png to mercurial/templates/static/coal-folder.png
1 NO CONTENT: file renamed from templates/static/excanvas.js to mercurial/templates/static/excanvas.js
NO CONTENT: file renamed from templates/static/excanvas.js to mercurial/templates/static/excanvas.js
1 NO CONTENT: file renamed from templates/static/graph.js to mercurial/templates/static/graph.js
NO CONTENT: file renamed from templates/static/graph.js to mercurial/templates/static/graph.js
1 NO CONTENT: file renamed from templates/static/hgicon.png to mercurial/templates/static/hgicon.png
NO CONTENT: file renamed from templates/static/hgicon.png to mercurial/templates/static/hgicon.png
1 NO CONTENT: file renamed from templates/static/hglogo.png to mercurial/templates/static/hglogo.png
NO CONTENT: file renamed from templates/static/hglogo.png to mercurial/templates/static/hglogo.png
1 NO CONTENT: file renamed from templates/static/style-coal.css to mercurial/templates/static/style-coal.css
NO CONTENT: file renamed from templates/static/style-coal.css to mercurial/templates/static/style-coal.css
1 NO CONTENT: file renamed from templates/static/style-gitweb.css to mercurial/templates/static/style-gitweb.css
NO CONTENT: file renamed from templates/static/style-gitweb.css to mercurial/templates/static/style-gitweb.css
1 NO CONTENT: file renamed from templates/static/style-monoblue.css to mercurial/templates/static/style-monoblue.css
NO CONTENT: file renamed from templates/static/style-monoblue.css to mercurial/templates/static/style-monoblue.css
1 NO CONTENT: file renamed from templates/static/style-paper.css to mercurial/templates/static/style-paper.css
NO CONTENT: file renamed from templates/static/style-paper.css to mercurial/templates/static/style-paper.css
1 NO CONTENT: file renamed from templates/static/style.css to mercurial/templates/static/style.css
NO CONTENT: file renamed from templates/static/style.css to mercurial/templates/static/style.css
1 NO CONTENT: file renamed from templates/template-vars.txt to mercurial/templates/template-vars.txt
NO CONTENT: file renamed from templates/template-vars.txt to mercurial/templates/template-vars.txt
@@ -1,283 +1,286 b''
1 #!/usr/bin/env python
1 #!/usr/bin/env python
2 #
2 #
3 # This is the mercurial setup script.
3 # This is the mercurial setup script.
4 #
4 #
5 # 'python setup.py install', or
5 # 'python setup.py install', or
6 # 'python setup.py --help' for more options
6 # 'python setup.py --help' for more options
7
7
8 import sys
8 import sys
9 if not hasattr(sys, 'version_info') or sys.version_info < (2, 4, 0, 'final'):
9 if not hasattr(sys, 'version_info') or sys.version_info < (2, 4, 0, 'final'):
10 raise SystemExit("Mercurial requires Python 2.4 or later.")
10 raise SystemExit("Mercurial requires Python 2.4 or later.")
11
11
12 # Solaris Python packaging brain damage
12 # Solaris Python packaging brain damage
13 try:
13 try:
14 import hashlib
14 import hashlib
15 sha = hashlib.sha1()
15 sha = hashlib.sha1()
16 except:
16 except:
17 try:
17 try:
18 import sha
18 import sha
19 except:
19 except:
20 raise SystemExit(
20 raise SystemExit(
21 "Couldn't import standard hashlib (incomplete Python install).")
21 "Couldn't import standard hashlib (incomplete Python install).")
22
22
23 try:
23 try:
24 import zlib
24 import zlib
25 except:
25 except:
26 raise SystemExit(
26 raise SystemExit(
27 "Couldn't import standard zlib (incomplete Python install).")
27 "Couldn't import standard zlib (incomplete Python install).")
28
28
29 import os, subprocess, time
29 import os, subprocess, time
30 import shutil
30 import shutil
31 import tempfile
31 import tempfile
32 from distutils.core import setup, Extension
32 from distutils.core import setup, Extension
33 from distutils.dist import Distribution
33 from distutils.dist import Distribution
34 from distutils.command.install_data import install_data
34 from distutils.command.install_data import install_data
35 from distutils.command.build import build
35 from distutils.command.build import build
36 from distutils.command.build_py import build_py
36 from distutils.command.build_py import build_py
37 from distutils.spawn import spawn, find_executable
37 from distutils.spawn import spawn, find_executable
38 from distutils.ccompiler import new_compiler
38 from distutils.ccompiler import new_compiler
39
39
40 extra = {}
40 extra = {}
41 scripts = ['hg']
41 scripts = ['hg']
42 if os.name == 'nt':
42 if os.name == 'nt':
43 scripts.append('contrib/win32/hg.bat')
43 scripts.append('contrib/win32/hg.bat')
44
44
45 # simplified version of distutils.ccompiler.CCompiler.has_function
45 # simplified version of distutils.ccompiler.CCompiler.has_function
46 # that actually removes its temporary files.
46 # that actually removes its temporary files.
47 def has_function(cc, funcname):
47 def has_function(cc, funcname):
48 tmpdir = tempfile.mkdtemp(prefix='hg-install-')
48 tmpdir = tempfile.mkdtemp(prefix='hg-install-')
49 devnull = oldstderr = None
49 devnull = oldstderr = None
50 try:
50 try:
51 try:
51 try:
52 fname = os.path.join(tmpdir, 'funcname.c')
52 fname = os.path.join(tmpdir, 'funcname.c')
53 f = open(fname, 'w')
53 f = open(fname, 'w')
54 f.write('int main(void) {\n')
54 f.write('int main(void) {\n')
55 f.write(' %s();\n' % funcname)
55 f.write(' %s();\n' % funcname)
56 f.write('}\n')
56 f.write('}\n')
57 f.close()
57 f.close()
58 # Redirect stderr to /dev/null to hide any error messages
58 # Redirect stderr to /dev/null to hide any error messages
59 # from the compiler.
59 # from the compiler.
60 # This will have to be changed if we ever have to check
60 # This will have to be changed if we ever have to check
61 # for a function on Windows.
61 # for a function on Windows.
62 devnull = open('/dev/null', 'w')
62 devnull = open('/dev/null', 'w')
63 oldstderr = os.dup(sys.stderr.fileno())
63 oldstderr = os.dup(sys.stderr.fileno())
64 os.dup2(devnull.fileno(), sys.stderr.fileno())
64 os.dup2(devnull.fileno(), sys.stderr.fileno())
65 objects = cc.compile([fname], output_dir=tmpdir)
65 objects = cc.compile([fname], output_dir=tmpdir)
66 cc.link_executable(objects, os.path.join(tmpdir, "a.out"))
66 cc.link_executable(objects, os.path.join(tmpdir, "a.out"))
67 except:
67 except:
68 return False
68 return False
69 return True
69 return True
70 finally:
70 finally:
71 if oldstderr is not None:
71 if oldstderr is not None:
72 os.dup2(oldstderr, sys.stderr.fileno())
72 os.dup2(oldstderr, sys.stderr.fileno())
73 if devnull is not None:
73 if devnull is not None:
74 devnull.close()
74 devnull.close()
75 shutil.rmtree(tmpdir)
75 shutil.rmtree(tmpdir)
76
76
77 # py2exe needs to be installed to work
77 # py2exe needs to be installed to work
78 try:
78 try:
79 import py2exe
79 import py2exe
80
80
81 # Help py2exe to find win32com.shell
81 # Help py2exe to find win32com.shell
82 try:
82 try:
83 import modulefinder
83 import modulefinder
84 import win32com
84 import win32com
85 for p in win32com.__path__[1:]: # Take the path to win32comext
85 for p in win32com.__path__[1:]: # Take the path to win32comext
86 modulefinder.AddPackagePath("win32com", p)
86 modulefinder.AddPackagePath("win32com", p)
87 pn = "win32com.shell"
87 pn = "win32com.shell"
88 __import__(pn)
88 __import__(pn)
89 m = sys.modules[pn]
89 m = sys.modules[pn]
90 for p in m.__path__[1:]:
90 for p in m.__path__[1:]:
91 modulefinder.AddPackagePath(pn, p)
91 modulefinder.AddPackagePath(pn, p)
92 except ImportError:
92 except ImportError:
93 pass
93 pass
94
94
95 extra['console'] = ['hg']
95 extra['console'] = ['hg']
96
96
97 except ImportError:
97 except ImportError:
98 pass
98 pass
99
99
100 def runcmd(cmd, env):
100 def runcmd(cmd, env):
101 p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
101 p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
102 stderr=subprocess.PIPE, env=env)
102 stderr=subprocess.PIPE, env=env)
103 out, err = p.communicate()
103 out, err = p.communicate()
104 # If root is executing setup.py, but the repository is owned by
104 # If root is executing setup.py, but the repository is owned by
105 # another user (as in "sudo python setup.py install") we will get
105 # another user (as in "sudo python setup.py install") we will get
106 # trust warnings since the .hg/hgrc file is untrusted. That is
106 # trust warnings since the .hg/hgrc file is untrusted. That is
107 # fine, we don't want to load it anyway.
107 # fine, we don't want to load it anyway.
108 err = [e for e in err.splitlines()
108 err = [e for e in err.splitlines()
109 if not e.startswith('Not trusting file')]
109 if not e.startswith('Not trusting file')]
110 if err:
110 if err:
111 return ''
111 return ''
112 return out
112 return out
113
113
114 version = ''
114 version = ''
115
115
116 if os.path.isdir('.hg'):
116 if os.path.isdir('.hg'):
117 # Execute hg out of this directory with a custom environment which
117 # Execute hg out of this directory with a custom environment which
118 # includes the pure Python modules in mercurial/pure. We also take
118 # includes the pure Python modules in mercurial/pure. We also take
119 # care to not use any hgrc files and do no localization.
119 # care to not use any hgrc files and do no localization.
120 pypath = ['mercurial', os.path.join('mercurial', 'pure')]
120 pypath = ['mercurial', os.path.join('mercurial', 'pure')]
121 env = {'PYTHONPATH': os.pathsep.join(pypath),
121 env = {'PYTHONPATH': os.pathsep.join(pypath),
122 'HGRCPATH': '',
122 'HGRCPATH': '',
123 'LANGUAGE': 'C'}
123 'LANGUAGE': 'C'}
124 if 'LD_LIBRARY_PATH' in os.environ:
124 if 'LD_LIBRARY_PATH' in os.environ:
125 env['LD_LIBRARY_PATH'] = os.environ['LD_LIBRARY_PATH']
125 env['LD_LIBRARY_PATH'] = os.environ['LD_LIBRARY_PATH']
126 if 'SystemRoot' in os.environ:
126 if 'SystemRoot' in os.environ:
127 # Copy SystemRoot into the custom environment for Python 2.6
127 # Copy SystemRoot into the custom environment for Python 2.6
128 # under Windows. Otherwise, the subprocess will fail with
128 # under Windows. Otherwise, the subprocess will fail with
129 # error 0xc0150004. See: http://bugs.python.org/issue3440
129 # error 0xc0150004. See: http://bugs.python.org/issue3440
130 env['SystemRoot'] = os.environ['SystemRoot']
130 env['SystemRoot'] = os.environ['SystemRoot']
131 cmd = [sys.executable, 'hg', 'id', '-i', '-t']
131 cmd = [sys.executable, 'hg', 'id', '-i', '-t']
132 l = runcmd(cmd, env).split()
132 l = runcmd(cmd, env).split()
133 while len(l) > 1 and l[-1][0].isalpha(): # remove non-numbered tags
133 while len(l) > 1 and l[-1][0].isalpha(): # remove non-numbered tags
134 l.pop()
134 l.pop()
135 if len(l) > 1: # tag found
135 if len(l) > 1: # tag found
136 version = l[-1]
136 version = l[-1]
137 if l[0].endswith('+'): # propagate the dirty status to the tag
137 if l[0].endswith('+'): # propagate the dirty status to the tag
138 version += '+'
138 version += '+'
139 elif len(l) == 1: # no tag found
139 elif len(l) == 1: # no tag found
140 cmd = [sys.executable, 'hg', 'parents', '--template',
140 cmd = [sys.executable, 'hg', 'parents', '--template',
141 '{latesttag}+{latesttagdistance}-']
141 '{latesttag}+{latesttagdistance}-']
142 version = runcmd(cmd, env) + l[0]
142 version = runcmd(cmd, env) + l[0]
143 if version.endswith('+'):
143 if version.endswith('+'):
144 version += time.strftime('%Y%m%d')
144 version += time.strftime('%Y%m%d')
145 elif os.path.exists('.hg_archival.txt'):
145 elif os.path.exists('.hg_archival.txt'):
146 kw = dict([t.strip() for t in l.split(':', 1)]
146 kw = dict([t.strip() for t in l.split(':', 1)]
147 for l in open('.hg_archival.txt'))
147 for l in open('.hg_archival.txt'))
148 if 'tag' in kw:
148 if 'tag' in kw:
149 version = kw['tag']
149 version = kw['tag']
150 elif 'latesttag' in kw:
150 elif 'latesttag' in kw:
151 version = '%(latesttag)s+%(latesttagdistance)s-%(node).12s' % kw
151 version = '%(latesttag)s+%(latesttagdistance)s-%(node).12s' % kw
152 else:
152 else:
153 version = kw.get('node', '')[:12]
153 version = kw.get('node', '')[:12]
154
154
155 if version:
155 if version:
156 f = open("mercurial/__version__.py", "w")
156 f = open("mercurial/__version__.py", "w")
157 f.write('# this file is autogenerated by setup.py\n')
157 f.write('# this file is autogenerated by setup.py\n')
158 f.write('version = "%s"\n' % version)
158 f.write('version = "%s"\n' % version)
159 f.close()
159 f.close()
160
160
161
161
162 try:
162 try:
163 from mercurial import __version__
163 from mercurial import __version__
164 version = __version__.version
164 version = __version__.version
165 except ImportError:
165 except ImportError:
166 version = 'unknown'
166 version = 'unknown'
167
167
168 class install_package_data(install_data):
169 def finalize_options(self):
170 self.set_undefined_options('install',
171 ('install_lib', 'install_dir'))
172 install_data.finalize_options(self)
173
174 class build_mo(build):
168 class build_mo(build):
175
169
176 description = "build translations (.mo files)"
170 description = "build translations (.mo files)"
177
171
178 def run(self):
172 def run(self):
179 if not find_executable('msgfmt'):
173 if not find_executable('msgfmt'):
180 self.warn("could not find msgfmt executable, no translations "
174 self.warn("could not find msgfmt executable, no translations "
181 "will be built")
175 "will be built")
182 return
176 return
183
177
184 podir = 'i18n'
178 podir = 'i18n'
185 if not os.path.isdir(podir):
179 if not os.path.isdir(podir):
186 self.warn("could not find %s/ directory" % podir)
180 self.warn("could not find %s/ directory" % podir)
187 return
181 return
188
182
189 join = os.path.join
183 join = os.path.join
190 for po in os.listdir(podir):
184 for po in os.listdir(podir):
191 if not po.endswith('.po'):
185 if not po.endswith('.po'):
192 continue
186 continue
193 pofile = join(podir, po)
187 pofile = join(podir, po)
194 modir = join('locale', po[:-3], 'LC_MESSAGES')
188 modir = join('locale', po[:-3], 'LC_MESSAGES')
195 mofile = join(modir, 'hg.mo')
189 mofile = join(modir, 'hg.mo')
196 cmd = ['msgfmt', '-v', '-o', mofile, pofile]
190 mobuildfile = join('mercurial', mofile)
191 cmd = ['msgfmt', '-v', '-o', mobuildfile, pofile]
197 if sys.platform != 'sunos5':
192 if sys.platform != 'sunos5':
198 # msgfmt on Solaris does not know about -c
193 # msgfmt on Solaris does not know about -c
199 cmd.append('-c')
194 cmd.append('-c')
200 self.mkpath(modir)
195 self.mkpath(join('mercurial', modir))
201 self.make_file([pofile], mofile, spawn, (cmd,))
196 self.make_file([pofile], mobuildfile, spawn, (cmd,))
202 self.distribution.data_files.append((join('mercurial', modir),
203 [mofile]))
204
197
205 build.sub_commands.append(('build_mo', None))
198 # Insert build_mo first so that files in mercurial/locale/ are found
199 # when build_py is run next.
200 build.sub_commands.insert(0, ('build_mo', None))
206
201
207 Distribution.pure = 0
202 Distribution.pure = 0
208 Distribution.global_options.append(('pure', None, "use pure (slow) Python "
203 Distribution.global_options.append(('pure', None, "use pure (slow) Python "
209 "code instead of C extensions"))
204 "code instead of C extensions"))
210
205
211 class hg_build_py(build_py):
206 class hg_build_py(build_py):
212
207
213 def finalize_options(self):
208 def finalize_options(self):
214 build_py.finalize_options(self)
209 build_py.finalize_options(self)
215
210
216 if self.distribution.pure:
211 if self.distribution.pure:
217 if self.py_modules is None:
212 if self.py_modules is None:
218 self.py_modules = []
213 self.py_modules = []
219 for ext in self.distribution.ext_modules:
214 for ext in self.distribution.ext_modules:
220 if ext.name.startswith("mercurial."):
215 if ext.name.startswith("mercurial."):
221 self.py_modules.append("mercurial.pure.%s" % ext.name[10:])
216 self.py_modules.append("mercurial.pure.%s" % ext.name[10:])
222 self.distribution.ext_modules = []
217 self.distribution.ext_modules = []
223
218
224 def find_modules(self):
219 def find_modules(self):
225 modules = build_py.find_modules(self)
220 modules = build_py.find_modules(self)
226 for module in modules:
221 for module in modules:
227 if module[0] == "mercurial.pure":
222 if module[0] == "mercurial.pure":
228 if module[1] != "__init__":
223 if module[1] != "__init__":
229 yield ("mercurial", module[1], module[2])
224 yield ("mercurial", module[1], module[2])
230 else:
225 else:
231 yield module
226 yield module
232
227
233 cmdclass = {'install_data': install_package_data,
228 cmdclass = {'build_mo': build_mo,
234 'build_mo': build_mo,
235 'build_py': hg_build_py}
229 'build_py': hg_build_py}
236
230
237 ext_modules=[
231 ext_modules=[
238 Extension('mercurial.base85', ['mercurial/base85.c']),
232 Extension('mercurial.base85', ['mercurial/base85.c']),
239 Extension('mercurial.bdiff', ['mercurial/bdiff.c']),
233 Extension('mercurial.bdiff', ['mercurial/bdiff.c']),
240 Extension('mercurial.diffhelpers', ['mercurial/diffhelpers.c']),
234 Extension('mercurial.diffhelpers', ['mercurial/diffhelpers.c']),
241 Extension('mercurial.mpatch', ['mercurial/mpatch.c']),
235 Extension('mercurial.mpatch', ['mercurial/mpatch.c']),
242 Extension('mercurial.parsers', ['mercurial/parsers.c']),
236 Extension('mercurial.parsers', ['mercurial/parsers.c']),
243 Extension('mercurial.osutil', ['mercurial/osutil.c']),
237 Extension('mercurial.osutil', ['mercurial/osutil.c']),
244 ]
238 ]
245
239
246 packages = ['mercurial', 'mercurial.hgweb', 'hgext', 'hgext.convert',
240 packages = ['mercurial', 'mercurial.hgweb', 'hgext', 'hgext.convert',
247 'hgext.highlight', 'hgext.zeroconf', ]
241 'hgext.highlight', 'hgext.zeroconf', ]
248
242
249 if sys.platform == 'linux2' and os.uname()[2] > '2.6':
243 if sys.platform == 'linux2' and os.uname()[2] > '2.6':
250 # The inotify extension is only usable with Linux 2.6 kernels.
244 # The inotify extension is only usable with Linux 2.6 kernels.
251 # You also need a reasonably recent C library.
245 # You also need a reasonably recent C library.
252 cc = new_compiler()
246 cc = new_compiler()
253 if has_function(cc, 'inotify_add_watch'):
247 if has_function(cc, 'inotify_add_watch'):
254 ext_modules.append(Extension('hgext.inotify.linux._inotify',
248 ext_modules.append(Extension('hgext.inotify.linux._inotify',
255 ['hgext/inotify/linux/_inotify.c']))
249 ['hgext/inotify/linux/_inotify.c']))
256 packages.extend(['hgext.inotify', 'hgext.inotify.linux'])
250 packages.extend(['hgext.inotify', 'hgext.inotify.linux'])
257
251
252 packagedata = {'mercurial': ['locale/*/LC_MESSAGES/hg.mo',
253 'help/*.txt']}
254
255 def ordinarypath(p):
256 return p and p[0] != '.' and p[-1] != '~'
257
258 for root in ('templates', ):
259 for curdir, dirs, files in os.walk(os.path.join('mercurial', root)):
260 curdir = curdir.split(os.sep, 1)[1]
261 dirs[:] = filter(ordinarypath, dirs)
262 for f in filter(ordinarypath, files):
263 f = os.path.join(curdir, f)
264 packagedata['mercurial'].append(f)
265
258 datafiles = []
266 datafiles = []
259 for root in ('templates', 'help'):
260 for dir, dirs, files in os.walk(root):
261 dirs[:] = [x for x in dirs if not x.startswith('.')]
262 files = [x for x in files if not x.startswith('.')]
263 datafiles.append((os.path.join('mercurial', dir),
264 [os.path.join(dir, file_) for file_ in files]))
265
267
266 setup(name='mercurial',
268 setup(name='mercurial',
267 version=version,
269 version=version,
268 author='Matt Mackall',
270 author='Matt Mackall',
269 author_email='mpm@selenic.com',
271 author_email='mpm@selenic.com',
270 url='http://mercurial.selenic.com/',
272 url='http://mercurial.selenic.com/',
271 description='Scalable distributed SCM',
273 description='Scalable distributed SCM',
272 license='GNU GPL',
274 license='GNU GPL',
273 scripts=scripts,
275 scripts=scripts,
274 packages=packages,
276 packages=packages,
275 ext_modules=ext_modules,
277 ext_modules=ext_modules,
276 data_files=datafiles,
278 data_files=datafiles,
279 package_data=packagedata,
277 cmdclass=cmdclass,
280 cmdclass=cmdclass,
278 options=dict(py2exe=dict(packages=['hgext', 'email']),
281 options=dict(py2exe=dict(packages=['hgext', 'email']),
279 bdist_mpkg=dict(zipdist=True,
282 bdist_mpkg=dict(zipdist=True,
280 license='COPYING',
283 license='COPYING',
281 readme='contrib/macosx/Readme.html',
284 readme='contrib/macosx/Readme.html',
282 welcome='contrib/macosx/Welcome.html')),
285 welcome='contrib/macosx/Welcome.html')),
283 **extra)
286 **extra)
General Comments 0
You need to be logged in to leave comments. Login now