浏览代码

Prepare for 0.2 release

Thomas Kluyver 11 年之前
父节点
当前提交
f4fd117133
共有 5 个文件被更改,包括 9 次插入5 次删除
  1. 2 2
      doc/conf.py
  2. 1 1
      doc/index.rst
  3. 1 1
      doc/releasenotes.rst
  4. 2 0
      nsist/__init__.py
  5. 3 1
      setup.py

+ 2 - 2
doc/conf.py

@@ -55,9 +55,9 @@ copyright = u'2014, Thomas Kluyver'
 # built documents.
 #
 # The short X.Y version.
-version = '0.1'
+version = '0.2'
 # The full version, including alpha/beta/rc tags.
-release = '0.1'
+release = '0.2'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.

+ 1 - 1
doc/index.rst

@@ -5,7 +5,7 @@ pynsist is a tool to build Windows installers for your Python applications. The
 installers bundle Python itself, so you can distribute your application to
 people who don't have Python installed.
 
-At present, pynsist requires Python 3.3 or above.
+At present, pynsist requires Python 3.3 or above, or Python 2.7.
 
 Quickstart
 ----------

+ 1 - 1
doc/releasenotes.rst

@@ -4,7 +4,7 @@ Release notes
 Version 0.2
 -----------
 
-* Python 2 support, thanks to `Johannes Baiter <https://github.com/jbaiter>`_
+* Python 2 support, thanks to `Johannes Baiter <https://github.com/jbaiter>`_.
 * Ability to define multiple shortcuts for one application.
 * Validate config files to produce more helpful errors, thanks to
   `Tom Wallroth <https://github.com/devsnd>`_.

+ 2 - 0
nsist/__init__.py

@@ -24,6 +24,8 @@ else:
 from .copymodules import copy_modules
 from .nsiswriter import NSISFileWriter
 
+__version__ = '0.2'
+
 pjoin = os.path.join
 logger = logging.getLogger(__name__)
 

+ 3 - 1
setup.py

@@ -12,8 +12,10 @@ else:
 with open('README.rst', 'r') as f:
     readme=f.read()
 
+from nsist import __version__
+
 setup(name='pynsist',
-      version='0.1',
+      version=__version__,
       description='Build Windows installers for Python apps',
       long_description=readme,
       author='Thomas Kluyver',