env2installer


Nameenv2installer JSON
Version 0.12 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/env2installer
SummaryBundles everything in an Anaconda environment and creates an installer.
upload_time2023-03-16 20:28:49
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords pyinstaller imagemagick inno setup
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Bundles everything in an Anaconda environment and creates an installer.



## Tested with Anaconda3, Python 3.9.16, Windows 10



## All your py-files and any other file you want to add to your app need to be in the ROOT of your env.



### pip install env2installer



### Please install:



#### pyinstaller



pip install -U pyinstaller 



#### ImageMagick (for the icon)



[https://imagemagick.org/script/download.php](https://imagemagick.org/script/download.php)



#### Inno Setup (to create the installer)



[https://jrsoftware.org/isdl.php](https://jrsoftware.org/isdl.php)  



```python

from env2installer import create_installer_exe



# the file for the icon, size doesn't matter, but it must be a png file and can't have spaces

image_for_icon = r"C:\Users\Gamer\Videos\bilder2\2021-02-0603_49_36-Window.png"



# there will be 2 output folders: c:\proxytyri_temp and c:\proxytyri

# the setup-up file will be: "C:\proxytyri\proxyfilesdownl_setup.exe"

outputfolder = "c:\\proxytyri"



# your py file, make sure that it is in the root of your env!

pyfile = r"C:\Users\Gamer\anaconda3\envs\royalehigh\downloadproxies.py"



# name of you app

appname = "proxyfilesdownl"



# your name

autor = "arni"



# path of ImageMagick 

magickpath = r"C:\Program Files\ImageMagick-7.1.0-Q16-HDRI\magick.exe"



create_installer_exe(

    image_for_icon,

    outputfolder,

    pyfile,

    appname,

    autor,

    version="1", # version as string

    LicenseFile=None, # If None, an empty file will be added. The license file will be shown to the user during the installation.

    InfoBeforeFile=None,  # If None, an empty file will be added. The file will be shown to the user during the installation.

    InfoAfterFile=None, # If None, an empty file will be added. The file will be shown to the user during the installation.

    url="https://127.0.0.1", # your url

    innosetupfilepath=r"C:\Program Files (x86)\Inno Setup 6\Compil32.exe", # the Inno Setup executable

    magickpath=magickpath, # path of ImageMagick 

    excludepackages=("pip",), # packages you want to exclude 

    add_to_pyinstaller_cmd=''  # commands to add to pyinstaller, like "--noconsole"

)





# For multiple py to exe (the first file will be the entry)

pyfiles = [

    r"C:\Users\Gamer\anaconda3\envs\subproctest\f1.py",

    r"C:\Users\Gamer\anaconda3\envs\subproctest\fatye\f2.py",

    r"C:\Users\Gamer\anaconda3\envs\subproctest\fatye\f3.py",

]

spefi = create_installer_exe_multi(

    pyfiles,

    appname="f1xxx",

    image_for_icon=r"C:\Users\Gamer\Documents\Downloads\xxxxx.png",

    autor="arni",

    magickpath=r"C:\Program Files\ImageMagick-7.1.0-Q16-HDRI\magick.exe",

    outputfolder="c:\\proxytyrixxx982111xxxdewddaxxxx",

    version="982",  # version as string

    LicenseFile=None,

    # If None, an empty file will be added. The license file will be shown to the user during the installation.

    InfoBeforeFile=None,

    # If None, an empty file will be added. The file will be shown to the user during the installation.

    InfoAfterFile=None,

    # If None, an empty file will be added. The file will be shown to the user during the installation.

    url="https://127.0.0.1",  # your url

    innosetupfilepath=r"C:\Program Files (x86)\Inno Setup 6\Compil32.exe",  # the Inno Setup executable

    excludepackages=("pip",),  # packages you want to exclude

    add_to_pyinstaller_cmd="--noconsole",  # commands to add to pyinstaller, like "--noconsole"

)



```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/env2installer",
    "name": "env2installer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "pyinstaller,ImageMagick,Inno Setup",
    "author": "Johannes Fischer",
    "author_email": "<aulasparticularesdealemaosp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/a5/51/d90f6f5d297a7fc87e8879b6e1b4a96489b8a1196048652925dfd7c17cb9/env2installer-0.12.tar.gz",
    "platform": null,
    "description": "\n# Bundles everything in an Anaconda environment and creates an installer.\n\n\n\n## Tested with Anaconda3, Python 3.9.16, Windows 10\n\n\n\n## All your py-files and any other file you want to add to your app need to be in the ROOT of your env.\n\n\n\n### pip install env2installer\n\n\n\n### Please install:\n\n\n\n#### pyinstaller\n\n\n\npip install -U pyinstaller \n\n\n\n#### ImageMagick (for the icon)\n\n\n\n[https://imagemagick.org/script/download.php](https://imagemagick.org/script/download.php)\n\n\n\n#### Inno Setup (to create the installer)\n\n\n\n[https://jrsoftware.org/isdl.php](https://jrsoftware.org/isdl.php)  \n\n\n\n```python\n\nfrom env2installer import create_installer_exe\n\n\n\n# the file for the icon, size doesn't matter, but it must be a png file and can't have spaces\n\nimage_for_icon = r\"C:\\Users\\Gamer\\Videos\\bilder2\\2021-02-0603_49_36-Window.png\"\n\n\n\n# there will be 2 output folders: c:\\proxytyri_temp and c:\\proxytyri\n\n# the setup-up file will be: \"C:\\proxytyri\\proxyfilesdownl_setup.exe\"\n\noutputfolder = \"c:\\\\proxytyri\"\n\n\n\n# your py file, make sure that it is in the root of your env!\n\npyfile = r\"C:\\Users\\Gamer\\anaconda3\\envs\\royalehigh\\downloadproxies.py\"\n\n\n\n# name of you app\n\nappname = \"proxyfilesdownl\"\n\n\n\n# your name\n\nautor = \"arni\"\n\n\n\n# path of ImageMagick \n\nmagickpath = r\"C:\\Program Files\\ImageMagick-7.1.0-Q16-HDRI\\magick.exe\"\n\n\n\ncreate_installer_exe(\n\n    image_for_icon,\n\n    outputfolder,\n\n    pyfile,\n\n    appname,\n\n    autor,\n\n    version=\"1\", # version as string\n\n    LicenseFile=None, # If None, an empty file will be added. The license file will be shown to the user during the installation.\n\n    InfoBeforeFile=None,  # If None, an empty file will be added. The file will be shown to the user during the installation.\n\n    InfoAfterFile=None, # If None, an empty file will be added. The file will be shown to the user during the installation.\n\n    url=\"https://127.0.0.1\", # your url\n\n    innosetupfilepath=r\"C:\\Program Files (x86)\\Inno Setup 6\\Compil32.exe\", # the Inno Setup executable\n\n    magickpath=magickpath, # path of ImageMagick \n\n    excludepackages=(\"pip\",), # packages you want to exclude \n\n    add_to_pyinstaller_cmd=''  # commands to add to pyinstaller, like \"--noconsole\"\n\n)\n\n\n\n\n\n# For multiple py to exe (the first file will be the entry)\n\npyfiles = [\n\n    r\"C:\\Users\\Gamer\\anaconda3\\envs\\subproctest\\f1.py\",\n\n    r\"C:\\Users\\Gamer\\anaconda3\\envs\\subproctest\\fatye\\f2.py\",\n\n    r\"C:\\Users\\Gamer\\anaconda3\\envs\\subproctest\\fatye\\f3.py\",\n\n]\n\nspefi = create_installer_exe_multi(\n\n    pyfiles,\n\n    appname=\"f1xxx\",\n\n    image_for_icon=r\"C:\\Users\\Gamer\\Documents\\Downloads\\xxxxx.png\",\n\n    autor=\"arni\",\n\n    magickpath=r\"C:\\Program Files\\ImageMagick-7.1.0-Q16-HDRI\\magick.exe\",\n\n    outputfolder=\"c:\\\\proxytyrixxx982111xxxdewddaxxxx\",\n\n    version=\"982\",  # version as string\n\n    LicenseFile=None,\n\n    # If None, an empty file will be added. The license file will be shown to the user during the installation.\n\n    InfoBeforeFile=None,\n\n    # If None, an empty file will be added. The file will be shown to the user during the installation.\n\n    InfoAfterFile=None,\n\n    # If None, an empty file will be added. The file will be shown to the user during the installation.\n\n    url=\"https://127.0.0.1\",  # your url\n\n    innosetupfilepath=r\"C:\\Program Files (x86)\\Inno Setup 6\\Compil32.exe\",  # the Inno Setup executable\n\n    excludepackages=(\"pip\",),  # packages you want to exclude\n\n    add_to_pyinstaller_cmd=\"--noconsole\",  # commands to add to pyinstaller, like \"--noconsole\"\n\n)\n\n\n\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Bundles everything in an Anaconda environment and creates an installer.",
    "version": "0.12",
    "split_keywords": [
        "pyinstaller",
        "imagemagick",
        "inno setup"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "354eb1e2a8543097ac364c70a50013e6aa368ec63e787235e666662a9065bb89",
                "md5": "f5f331d2f18c15aeca8ade329080f737",
                "sha256": "f33323a13451165b0fcabf506127b42b5ec983a43d5901de3d181da61a40ea76"
            },
            "downloads": -1,
            "filename": "env2installer-0.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f5f331d2f18c15aeca8ade329080f737",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 12458,
            "upload_time": "2023-03-16T20:28:47",
            "upload_time_iso_8601": "2023-03-16T20:28:47.840025Z",
            "url": "https://files.pythonhosted.org/packages/35/4e/b1e2a8543097ac364c70a50013e6aa368ec63e787235e666662a9065bb89/env2installer-0.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a551d90f6f5d297a7fc87e8879b6e1b4a96489b8a1196048652925dfd7c17cb9",
                "md5": "2e6293b76e020086446f63bb59e4318e",
                "sha256": "e91881ca4f9f1dbef9cf3854450e507a845abb6572bcd66987921fc4ed569ffa"
            },
            "downloads": -1,
            "filename": "env2installer-0.12.tar.gz",
            "has_sig": false,
            "md5_digest": "2e6293b76e020086446f63bb59e4318e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 11412,
            "upload_time": "2023-03-16T20:28:49",
            "upload_time_iso_8601": "2023-03-16T20:28:49.581125Z",
            "url": "https://files.pythonhosted.org/packages/a5/51/d90f6f5d297a7fc87e8879b6e1b4a96489b8a1196048652925dfd7c17cb9/env2installer-0.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-16 20:28:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "hansalemaos",
    "github_project": "env2installer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "env2installer"
}
        
Elapsed time: 0.05487s