浏览代码

Rename to pynsist

Thomas Kluyver 11 年之前
父节点
当前提交
02bcbba0b6
共有 11 个文件被更改,包括 21 次插入21 次删除
  1. 7 7
      doc/conf.py
  2. 1 1
      doc/faq.rst
  3. 6 6
      doc/index.rst
  4. 0 0
      nsist/__init__.py
  5. 0 0
      nsist/__main__.py
  6. 0 0
      nsist/copymodules.py
  7. 0 0
      nsist/glossyorb.ico
  8. 0 0
      nsist/python-pubkeys.txt
  9. 0 0
      nsist/template.nsi
  10. 0 0
      scripts/pynsist
  11. 7 7
      setup.py

+ 7 - 7
doc/conf.py

@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 # -*- coding: utf-8 -*-
 #
 #
-# pynsis documentation build configuration file, created by
+# pynsist documentation build configuration file, created by
 # sphinx-quickstart on Sun Mar 30 13:33:08 2014.
 # sphinx-quickstart on Sun Mar 30 13:33:08 2014.
 #
 #
 # This file is execfile()d with the current directory set to its
 # This file is execfile()d with the current directory set to its
@@ -47,7 +47,7 @@ source_suffix = '.rst'
 master_doc = 'index'
 master_doc = 'index'
 
 
 # General information about the project.
 # General information about the project.
-project = u'pynsis'
+project = u'pynsist'
 copyright = u'2014, Thomas Kluyver'
 copyright = u'2014, Thomas Kluyver'
 
 
 # The version info for the project you're documenting, acts as replacement for
 # The version info for the project you're documenting, acts as replacement for
@@ -180,7 +180,7 @@ html_static_path = ['_static']
 #html_file_suffix = None
 #html_file_suffix = None
 
 
 # Output file base name for HTML help builder.
 # Output file base name for HTML help builder.
-htmlhelp_basename = 'pynsisdoc'
+htmlhelp_basename = 'pynsistdoc'
 
 
 
 
 # -- Options for LaTeX output ---------------------------------------------
 # -- Options for LaTeX output ---------------------------------------------
@@ -200,7 +200,7 @@ latex_elements = {
 # (source start file, target name, title,
 # (source start file, target name, title,
 #  author, documentclass [howto, manual, or own class]).
 #  author, documentclass [howto, manual, or own class]).
 latex_documents = [
 latex_documents = [
-  ('index', 'pynsis.tex', u'pynsis Documentation',
+  ('index', 'pynsist.tex', u'pynsist Documentation',
    u'Thomas Kluyver', 'manual'),
    u'Thomas Kluyver', 'manual'),
 ]
 ]
 
 
@@ -230,7 +230,7 @@ latex_documents = [
 # One entry per manual page. List of tuples
 # One entry per manual page. List of tuples
 # (source start file, name, description, authors, manual section).
 # (source start file, name, description, authors, manual section).
 man_pages = [
 man_pages = [
-    ('index', 'pynsis', u'pynsis Documentation',
+    ('index', 'pynsist', u'pynsist Documentation',
      [u'Thomas Kluyver'], 1)
      [u'Thomas Kluyver'], 1)
 ]
 ]
 
 
@@ -244,8 +244,8 @@ man_pages = [
 # (source start file, target name, title, author,
 # (source start file, target name, title, author,
 #  dir menu entry, description, category)
 #  dir menu entry, description, category)
 texinfo_documents = [
 texinfo_documents = [
-  ('index', 'pynsis', u'pynsis Documentation',
-   u'Thomas Kluyver', 'pynsis', 'One line description of project.',
+  ('index', 'pynsist', u'pynsist Documentation',
+   u'Thomas Kluyver', 'pynsist', 'One line description of project.',
    'Miscellaneous'),
    'Miscellaneous'),
 ]
 ]
 
 

+ 1 - 1
doc/faq.rst

@@ -11,7 +11,7 @@ Windows versions of these packages. There are two ways to do this:
 
 
 - Get the importable packages/modules, either from a Windows installation, or
 - Get the importable packages/modules, either from a Windows installation, or
   by extracting them from an installer. Copy them into a folder called
   by extracting them from an installer. Copy them into a folder called
-  ``pynsis_pkgs``, next to your ``installer.cfg`` file. pynsis will
+  ``pynsist_pkgs``, next to your ``installer.cfg`` file. pynsist will
   copy everything in this folder to the build directory.
   copy everything in this folder to the build directory.
 - Include exe/msi installers for those modules, and modify the ``.nsi`` template
 - Include exe/msi installers for those modules, and modify the ``.nsi`` template
   to extract and run these during installation. This can make your installer
   to extract and run these during installation. This can make your installer

+ 6 - 6
doc/index.rst

@@ -1,7 +1,7 @@
-pynsis |version|
-================
+pynsist |version|
+=================
 
 
-pynsis is a tool to build Windows installers for your Python applications. The
+pynsist is a tool to build Windows installers for your Python applications. The
 installers bundle Python itself, so you can distribute your application to
 installers bundle Python itself, so you can distribute your application to
 people who don't have Windows installed.
 people who don't have Windows installed.
 
 
@@ -9,7 +9,7 @@ Quickstart
 ----------
 ----------
 
 
 1. Get the tools. Install `NSIS <http://nsis.sourceforge.net/Download>`_, and
 1. Get the tools. Install `NSIS <http://nsis.sourceforge.net/Download>`_, and
-   then install pynsis from PyPI by running ``pip install pynsis``.
+   then install pynsist from PyPI by running ``pip install pynsist``.
 
 
 2. Add this code to the top of your script, above any other imports::
 2. Add this code to the top of your script, above any other imports::
 
 
@@ -43,8 +43,8 @@ Quickstart
 
 
   See :doc:`cfgfile` for more details about this.
   See :doc:`cfgfile` for more details about this.
 
 
-4. Run ``pynsis installer.cfg`` to generate your installer. If ``pynsis`` isn't
-   found, you can use ``python -m nsisbuilder installer.cfg`` instead.
+4. Run ``pynsist installer.cfg`` to generate your installer. If ``pynsist`` isn't
+   found, you can use ``python -m nsist installer.cfg`` instead.
 
 
 Contents
 Contents
 --------
 --------

+ 0 - 0
nsisbuilder/__init__.py → nsist/__init__.py


+ 0 - 0
nsisbuilder/__main__.py → nsist/__main__.py


+ 0 - 0
nsisbuilder/copymodules.py → nsist/copymodules.py


+ 0 - 0
nsisbuilder/glossyorb.ico → nsist/glossyorb.ico


+ 0 - 0
nsisbuilder/python-pubkeys.txt → nsist/python-pubkeys.txt


+ 0 - 0
nsisbuilder/template.nsi → nsist/template.nsi


+ 0 - 0
scripts/pynsis → scripts/pynsist


+ 7 - 7
setup.py

@@ -1,18 +1,18 @@
 from distutils.core import setup
 from distutils.core import setup
 
 
-setup(name='pynsis',
+setup(name='pynsist',
       version='0.1',
       version='0.1',
       description='Build Windows installers for Python apps',
       description='Build Windows installers for Python apps',
       author='Thomas Kluyver',
       author='Thomas Kluyver',
       author_email='thomas@kluyver.me.uk',
       author_email='thomas@kluyver.me.uk',
       url='https://github.com/takluyver/pynsis',
       url='https://github.com/takluyver/pynsis',
-      packages=['nsisbuilder'],
-      package_data={'nsisbuilder': ['template.nsi',
-                                    'python-pubkeys.txt',
-                                    'glossyorb.ico',
-                                    ]
+      packages=['nsist'],
+      package_data={'nsist': ['template.nsi',
+                              'python-pubkeys.txt',
+                              'glossyorb.ico',
+                             ]
                     },
                     },
-      scripts=['scripts/pynsis'],
+      scripts=['scripts/pynsist'],
       classifiers=[
       classifiers=[
           'Intended Audience :: Developers',
           'Intended Audience :: Developers',
           'License :: OSI Approved :: MIT License',
           'License :: OSI Approved :: MIT License',