Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.1, 2.0.2, and 2.0.3

stable install: changes for building a "good" 2.0 tar ball

This allows me to do
python setup.py clean sdist
and create a correctly versioned tar ball that also contains
* i18n/*.py
* tortoisehg/hgqt/*.ui
but doesn't contain old locale/*/LC_MESSAGES/tortoisehg.mo files

With the created tar ball I can do
python build install
and build rpms for Fedora.

Changeset c6ad5c7ed8ef

Parent 7bf7897aec3c

by Mads Kiilerich

Changes to 3 files · Browse files at c6ad5c7ed8ef Showing diff from parent 7bf7897aec3c Diff from another changeset...

Change 1 of 1 Show Entire File MANIFEST.in Stacked
 
4
5
6
7
 
 
8
9
 
4
5
6
 
7
8
9
10
@@ -4,6 +4,7 @@
 include contrib/mergetools.rc  include contrib/tortoisehg.desktop  include COPYING.txt -recursive-include i18n *.po +include tortoisehg/hgqt/*.ui +recursive-include i18n *.po *.py  recursive-include doc *  recursive-exclude doc/build *
Change 1 of 1 Show Entire File setup.py Stacked
 
220
221
222
223
 
224
225
226
 
220
221
222
 
223
224
225
226
@@ -220,7 +220,7 @@
  cls._wrappeduic = True    class clean_local(Command): - pats = ['*.py[co]', '*_ui.py', '*_rc.py', '*.orig', '*.rej'] + pats = ['*.py[co]', '*_ui.py', '*_rc.py', '*.mo', '*.orig', '*.rej']   excludedirs = ['.hg', 'build', 'dist']   description = 'clean up generated files (%s)' % ', '.join(pats)   user_options = []
 
20
21
22
23
 
24
25
26
 
20
21
22
 
23
24
25
26
@@ -20,7 +20,7 @@
  repo = hg.repository(u, path=thgpath)     u.pushbuffer() - commands.identify(u, repo, id=True, tags=True) + commands.identify(u, repo, id=True, tags=True, rev='.')   l = u.popbuffer().split()   while len(l) > 1 and l[-1][0].isalpha(): # remove non-numbered tags   l.pop()