{ "info": { "author": "Philippe T. Pinard", "author_email": "philippe.pinard@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: Microsoft :: Windows", "Programming Language :: Python", "Topic :: Software Development" ], "description": "######\npy2win\n######\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/ppinard/py2win?svg=true\n :target: https://ci.appveyor.com/project/ppinard/py2win\n\nUtility to create a stand-alone distribution of a Python program,\neither a console or GUI program. \n*py2win* uses `Python embedded distribution `_ \nand *pip* to create the stand-alone distribution.\n\nInstallation\n============\n\nYou first need to install Microsoft Visual Studio, compatible with your current \nPython installation. Then simply run:\n\n.. code:: \n\n pip install py2win\n\nHow to use\n==========\n\nAs a command in ``setup.py``\n----------------------------\n\n1. Define at least one entry point in your ``setup.py``.\n\n.. code:: python\n\n setup(\n ...\n entry_points={\n 'gui_scripts': ['sample-gui=sample.gui:main'],\n 'console_scripts': ['sample-console=sample.console:main'],\n },\n ...\n )\n\n2. Run the ``bdist_windows`` command\n\n.. code:: \n\n python setup.py --command-packages py2win bdist_windows\n\nAs a separate script to create an embedded distribution\n-------------------------------------------------------\n\n.. code:: python\n\n from py2win.embed import EmbedPython\n\n embed = EmbedPython('sample', '1.2.0')\n embed.add_wheel(filepath_to_wheel_of_your_project)\n embed.add_script('project.gui', 'main', 'project-gui', console=False)\n embed.run(destination_directory)\n\nRelease notes\n=============\n\n0.1.0\n-----\n\n* First release\n\nLicense\n=======\n\nThe library is provided under the MIT license.\n\nCopyright (c) 2017 Philippe Pinard\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ppinard/py2win", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "py2win", "package_url": "https://pypi.org/project/py2win/", "platform": "", "project_url": "https://pypi.org/project/py2win/", "project_urls": { "Homepage": "https://github.com/ppinard/py2win" }, "release_url": "https://pypi.org/project/py2win/0.1.0/", "requires_dist": [ "wheel", "requests", "nose; extra == 'develop'", "coverage; extra == 'develop'" ], "requires_python": "", "summary": "Create a stand-alone Windows distribution of a Python program", "version": "0.1.0" }, "last_serial": 3305725, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c825b0fb68fb83f04ca3e105229fe803", "sha256": "763193ed16327b602b83239fd84582272aca4af62461c6735388cad8f4f139cf" }, "downloads": -1, "filename": "py2win-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c825b0fb68fb83f04ca3e105229fe803", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14673, "upload_time": "2017-11-04T16:29:31", "url": "https://files.pythonhosted.org/packages/54/7b/c9c2634ea8efe52997c5b0d5ef10feffdd9d686a2c8cc11c4001324b8540/py2win-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1044e79ee7b390ae6856165789838b01", "sha256": "a1c1ba0451ffab5c5921c04aa6e74385351d09328dc71cba5a8eb8455ec7d425" }, "downloads": -1, "filename": "py2win-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1044e79ee7b390ae6856165789838b01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6005, "upload_time": "2017-11-04T16:29:32", "url": "https://files.pythonhosted.org/packages/3c/5c/d5f00c8286c5a534c7142e39baea01b9919d6983d152292b9f81f90f0e6c/py2win-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c825b0fb68fb83f04ca3e105229fe803", "sha256": "763193ed16327b602b83239fd84582272aca4af62461c6735388cad8f4f139cf" }, "downloads": -1, "filename": "py2win-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c825b0fb68fb83f04ca3e105229fe803", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14673, "upload_time": "2017-11-04T16:29:31", "url": "https://files.pythonhosted.org/packages/54/7b/c9c2634ea8efe52997c5b0d5ef10feffdd9d686a2c8cc11c4001324b8540/py2win-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1044e79ee7b390ae6856165789838b01", "sha256": "a1c1ba0451ffab5c5921c04aa6e74385351d09328dc71cba5a8eb8455ec7d425" }, "downloads": -1, "filename": "py2win-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1044e79ee7b390ae6856165789838b01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6005, "upload_time": "2017-11-04T16:29:32", "url": "https://files.pythonhosted.org/packages/3c/5c/d5f00c8286c5a534c7142e39baea01b9919d6983d152292b9f81f90f0e6c/py2win-0.1.0.tar.gz" } ] }