pynsist


Namepynsist JSON
Version 2.8 PyPI version JSON
download
home_pageNone
SummaryBuild NSIS installers for Python applications.
upload_time2022-03-21 11:44:28
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            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.

For more information, see `the documentation <https://pynsist.readthedocs.io/en/latest/>`_
and `the examples <https://github.com/takluyver/pynsist/tree/master/examples>`_.

Pynsist 2.7 requires Python 3.6 or above.
You can use `Pynsist 2.6 <http://pynsist.readthedocs.io/en/2.6/>`_ on Python 3.5,
and `Pynsist 1.x <http://pynsist.readthedocs.io/en/1.12/>`_ on Python 2.7 and
Python 3.3 or above, but these versions won't get further updates.

Quickstart
----------

1. Get the tools. Install `NSIS <http://nsis.sourceforge.net/Download>`_, and
   then install pynsist from PyPI by running ``pip install pynsist``.

2. Write a config file ``installer.cfg``, like this:

   .. code-block:: ini
   
       [Application]
       name=My App
       version=1.0
       # How to launch the app - this calls the 'main' function from the 'myapp' package:
       entry_point=myapp:main
       icon=myapp.ico

       [Python]
       version=3.6.3

       [Include]
       # Packages from PyPI that your application requires, one per line
       # These must have wheels on PyPI:
       pypi_wheels = requests==2.18.4
            beautifulsoup4==4.6.0
            html5lib==0.999999999

       # To bundle packages which don't publish wheels, or to include directly wheel files
       # from a directory, see the docs on the config file.

       # Other files and folders that should be installed
       files = LICENSE
           data_files/

3. Run ``pynsist installer.cfg`` to generate your installer. If ``pynsist`` isn't
   found, you can use ``python -m nsist installer.cfg`` instead.

This example illustrates how to use Pynsist by itself, for simple projects.
There are other options which can make it easier to integrate as a step in
a more complex build process. See the docs for more information.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pynsist",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Thomas Kluyver <thomas@kluyver.me.uk>",
    "download_url": "https://files.pythonhosted.org/packages/99/e0/b1b797633a71fadb5e37b44b69a707bf1f3108f1922d25bbb82d320af0cd/pynsist-2.8.tar.gz",
    "platform": null,
    "description": "Pynsist is a tool to build Windows installers for your Python applications. The\ninstallers bundle Python itself, so you can distribute your application to\npeople who don't have Python installed.\n\nFor more information, see `the documentation <https://pynsist.readthedocs.io/en/latest/>`_\nand `the examples <https://github.com/takluyver/pynsist/tree/master/examples>`_.\n\nPynsist 2.7 requires Python 3.6 or above.\nYou can use `Pynsist 2.6 <http://pynsist.readthedocs.io/en/2.6/>`_ on Python 3.5,\nand `Pynsist 1.x <http://pynsist.readthedocs.io/en/1.12/>`_ on Python 2.7 and\nPython 3.3 or above, but these versions won't get further updates.\n\nQuickstart\n----------\n\n1. Get the tools. Install `NSIS <http://nsis.sourceforge.net/Download>`_, and\n   then install pynsist from PyPI by running ``pip install pynsist``.\n\n2. Write a config file ``installer.cfg``, like this:\n\n   .. code-block:: ini\n   \n       [Application]\n       name=My App\n       version=1.0\n       # How to launch the app - this calls the 'main' function from the 'myapp' package:\n       entry_point=myapp:main\n       icon=myapp.ico\n\n       [Python]\n       version=3.6.3\n\n       [Include]\n       # Packages from PyPI that your application requires, one per line\n       # These must have wheels on PyPI:\n       pypi_wheels = requests==2.18.4\n            beautifulsoup4==4.6.0\n            html5lib==0.999999999\n\n       # To bundle packages which don't publish wheels, or to include directly wheel files\n       # from a directory, see the docs on the config file.\n\n       # Other files and folders that should be installed\n       files = LICENSE\n           data_files/\n\n3. Run ``pynsist installer.cfg`` to generate your installer. If ``pynsist`` isn't\n   found, you can use ``python -m nsist installer.cfg`` instead.\n\nThis example illustrates how to use Pynsist by itself, for simple projects.\nThere are other options which can make it easier to integrate as a step in\na more complex build process. See the docs for more information.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Build NSIS installers for Python applications.",
    "version": "2.8",
    "project_urls": {
        "Documentation": "https://pynsist.readthedocs.io/en/latest/",
        "Source": "https://github.com/takluyver/pynsist"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4417f3d24a5c36a19eca00219bd1d7f2abf8dd26b3c61cc919f1159763e1e093",
                "md5": "79d1ed37c584c969bb99b823b49d7b3e",
                "sha256": "7d3e8343c10cdbfb262ab63201a62d38ed86f4f2d0cffc2677c9917793d800a6"
            },
            "downloads": -1,
            "filename": "pynsist-2.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "79d1ed37c584c969bb99b823b49d7b3e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 2805103,
            "upload_time": "2022-03-21T11:44:22",
            "upload_time_iso_8601": "2022-03-21T11:44:22.282503Z",
            "url": "https://files.pythonhosted.org/packages/44/17/f3d24a5c36a19eca00219bd1d7f2abf8dd26b3c61cc919f1159763e1e093/pynsist-2.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "99e0b1b797633a71fadb5e37b44b69a707bf1f3108f1922d25bbb82d320af0cd",
                "md5": "036e411aac1b034bbceece35a7eb1250",
                "sha256": "465c4596cba5cc3698d4719ddc7afea31ce9dc8936a7b4d3feffec6e8adc0b5d"
            },
            "downloads": -1,
            "filename": "pynsist-2.8.tar.gz",
            "has_sig": false,
            "md5_digest": "036e411aac1b034bbceece35a7eb1250",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2308293,
            "upload_time": "2022-03-21T11:44:28",
            "upload_time_iso_8601": "2022-03-21T11:44:28.553005Z",
            "url": "https://files.pythonhosted.org/packages/99/e0/b1b797633a71fadb5e37b44b69a707bf1f3108f1922d25bbb82d320af0cd/pynsist-2.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-03-21 11:44:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "takluyver",
    "github_project": "pynsist",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "appveyor": true,
    "tox": true,
    "lcname": "pynsist"
}
        
Elapsed time: 0.76837s