提交 dc9b5c38 authored 作者: Frederic Bastien's avatar Frederic Bastien

Some update of our how to release

上级 7c9b917f
......@@ -14,6 +14,8 @@ and all commit log messages. Update the index.txt *News* section.
Update the "Vision"/"Vision State" in the file
``Theano/doc/introduction.txt``.
Update the file ``.mailmap`` to clean up the list of contributor.
Get a fresh copy of the repository
==================================
......@@ -112,60 +114,6 @@ Finally
Change ``ISRELEASED`` back to ``False``.
Generate and upload the Windows installer
=========================================
We are now able to build and distribute an MSI installer for Windows,
assuming that Anaconda is the installed Python distribution. This
installer is generated by `WiX`_ from an XML file, stored in the
`Theano-wininstaller <https://github.com/Theano/Theano-wininstaller>`__
Git repository.
* Install `WiX`_ if it is not already installed.
* On a Windows machine, checkout the ``Theano-wininstaller`` repository::
git checkout https://github.com/Theano/Theano-wininstaller.git
* In ``Theano-wininstaller\src``, create a *new*
``theano_installer_<version>.wxs`` from the previous one. We want to
keep a history of these files, as they contain globally unique IDs.
* Change the strings and GUIDs appropriately, see `the WiX tutorial
<http://wix.tramontana.co.hu/tutorial/upgrades-and-modularization>`__
for a reference.
* Compile the ``.wxs`` file following the instructions in it, it will be something like::
candle.exe theano_installer_<version>.wxs
light.exe -ext WixUIExtension theano_installer_<version>.wixobj
This will generate a ``theano_installer_<version>.msi`` file in ``src``.
* Test it by trying to install and uninstall it. It can be done by
double-clicking on it, then uninstalling it from the Windows control
panel, or (more easily) from the command line, which also allows to
save the logs (use the ``*v`` modifier to increase verbosity)::
msiexec /i <file>.msi [/l[*v] install.log]
msiexec /x <file>.msi [/l[*v] uninstall.log]
* When the test works, copy ``theano_installer_<version>.msi``
into ``Theano-wininstaller\bin``, overwrite
``bin\theano_installer_latest.msi`` with another copy, then add the new
files into the Git repository, and push to master::
copy src\theano_installer_<version>.msi bin\
copy /y src\theano_installer_<version>.msi bin\theano_installer_latest.msi
git add src\theano_installer_<version>.wxs
git add bin\theano_installer_<version>.msi
git add bin\theano_installer_latest.msi
git commit
git push
.. _WiX: http://wixtoolset.org/
Announce the release
====================
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论