PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 11ms RepoModel.GetById 29ms app.codeStats 0ms

/README.packaging-new-releases

http://googlecl.googlecode.com/
Unknown | 33 lines | 29 code | 4 blank | 0 comment | 0 complexity | 4ae35f9be0fcb090933abb648910f591 MD5 | raw file
 1Steps that we take when doing releases (so we don't forget)
 2
 3===Tarball===
 4All instructions assume a current working directory of trunk
 51) Be sure changelog is up to date. Check the commit messages for important bug fixes, enhancements, features, etc.
 62) Increment version number in changelog and README.new-usage (change "svn HEAD" to "version x.x.x")
 73) Be sure man pages are up to date.
 84) Update VERSION variable in src/google
 95) Update version keyword argument in setup.py
106) cp src/google.py src/google ; chmod 755 src/google
117) Regenerate man page per instructions in src/google
128) Commit all these changes with a message like "Change to x.x.x" or "Committing updated version numbers x.x.x"
139) Use setup.py sdist to make the source distribution
1410) cd dist ; tar xf googlecl-x.x.x.tar.gz ; cd googlecl-x.x.x/
1511) chmod 755 src/google (sdist apparently sets whatever permissions it feels like)
1612) When you're convinced it's correct, use svn copy to tag the release:
17 $ svn copy https://googlecl.googlecode.com/svn/trunk https://googlecl.googlecode.com/svn/tags/release-x.x.x -m "x.x.x release"
1813) Update release at pypi: http://pypi.python.org/pypi/googlecl/
19
20===Debian package===
21Our .deb build currently uses git-buildpackage with a private git repo (sorry, hackers).
22
23===Windows executable===
24Note: This will only work from a windows machine with py2exe installed. You MUST use Python 2.5
251) Run 'cmd' to get a terminal
262) cd to the src directory of the repository, where win_setup is.
273) Copy google.py to google.
284) Run "C:\path\to\python25\python.exe win_setup.py py2exe -O2" That's a capital "o", then a 2
295) LEGAL WORRY: After py2exe does its thing, ***REMOVE MSVCR71.dll*** from the newly created dist/
306) Copy trunk/README.txt and trunk/README.config into dist/
317) Rename dist/ to googlecl (or what have you) and zip it up.
32
33On legal worries: As far as I can tell, it is a breach of the EULA to distribute that DLL unless you own a license for Microsoft Visual C++, which I do not. Users that need it can follow the instructions on the wiki's SystemRequirements page