{"id":16778099,"url":"https://github.com/deeplook/mcinstall","last_synced_at":"2025-04-10T20:42:23.476Z","repository":{"id":57440326,"uuid":"211806228","full_name":"deeplook/mcinstall","owner":"deeplook","description":"A script to quickly make/provision a fresh Miniconda installation from scratch.","archived":false,"fork":false,"pushed_at":"2021-06-24T09:10:36.000Z","size":119,"stargazers_count":5,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T03:25:06.087Z","etag":null,"topics":["automation","conda","continuous-integration","cross-platform","installation","miniconda","python3","testing"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deeplook.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-30T07:55:06.000Z","updated_at":"2021-06-24T09:10:39.000Z","dependencies_parsed_at":"2022-09-26T17:20:30.594Z","dependency_job_id":null,"html_url":"https://github.com/deeplook/mcinstall","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeplook%2Fmcinstall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeplook%2Fmcinstall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeplook%2Fmcinstall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeplook%2Fmcinstall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deeplook","download_url":"https://codeload.github.com/deeplook/mcinstall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248293335,"owners_count":21079634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","conda","continuous-integration","cross-platform","installation","miniconda","python3","testing"],"created_at":"2024-10-13T07:26:50.802Z","updated_at":"2025-04-10T20:42:23.423Z","avatar_url":"https://github.com/deeplook.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"mcinstall\n=========\n\n.. image:: https://img.shields.io/travis/deeplook/mcinstall/master.svg\n  :target: https://travis-ci.org/deeplook/mcinstall\n\n.. image:: https://img.shields.io/pypi/pyversions/mcinstall.svg\n  :target: https://pypi.org/project/mcinstall\n\n.. image:: https://img.shields.io/pypi/v/mcinstall.svg\n  :target: https://pypi.org/project/mcinstall\n\n.. image:: https://img.shields.io/pypi/status/mcinstall.svg\n  :target: https://pypi.org/project/mcinstall\n\n.. image:: https://img.shields.io/pypi/format/mcinstall.svg\n  :target: https://pypi.org/project/mcinstall\n\n.. image:: https://img.shields.io/pypi/l/mcinstall.svg\n  :target: https://pypi.org/project/mcinstall\n\n.. image:: https://img.shields.io/badge/platform-unix%20|%20win%20|%20osx%20|%20arm-informational.svg\n  :target: https://pypi.org/project/mcinstall\n\n.. image:: https://img.shields.io/badge/likes-Raspberry%20Pi-%23C51A4A?logo=raspberry%20pi\n  :target: https://pypi.org/project/mcinstall\n\n.. image:: https://img.shields.io/lgtm/alerts/g/deeplook/mcinstall.svg?logo=lgtm\u0026logoWidth=18\n  :target: https://lgtm.com/projects/g/deeplook/mcinstall/alerts/\n\n.. image:: https://img.shields.io/lgtm/grade/python/g/deeplook/mcinstall.svg?logo=lgtm\u0026logoWidth=18\n  :target: https://lgtm.com/projects/g/deeplook/mcinstall/context:python\n\n.. image:: https://pepy.tech/badge/mcinstall/month\n  :target: https://pepy.tech/project/mcinstall/month\n\nA script to quickly make/provision a fresh Miniconda installation from scratch.\n\nThe goal of this script is to quickly install a fresh Miniconda across different\noperating systems and use it in a CI/CD context, too. It will download a Miniconda\nbinary based on your operating system, unpack the binary and install it locally.\nIt was tested on MacOS and Linux ok, has decent Windows support and also aims to\nsupport ARM6 and ARM7 on the Raspberry Pi via `Berryconda\n\u003chttps://github.com/jjhelmus/berryconda/releases\u003e`_ (sadly no longer maintained).\n\nThis script has no external dependencies, but expects to be run with Python 3.5+,\n3.5 only because this is likely still the prevalent Python 3 version on Rasbian.\n\nN.B. This project is often updated online which is why its git history might look\nstrange...\n\nInstallation\n------------\n\nVery briefly, it's ``pip install mcinstall``. More details are available in\n`INSTALL.rst \u003cINSTALL.rst\u003e`_.\n\nSample Usage\n------------\n\nIf you run it like this::\n\n    mcinstall ~/Downloads/mc3\n\nit will run a command like this on macOS (using some defaults and decent\nsystem introspection) to create a conda base installation::\n\n    bash Miniconda3-latest-MacOSX-x86_64.sh -b -f -p ~/Downloads/mc3\n\nThis can be activated then with a command like this::\n\n    source ~/Downloads/mc3/bin/activate\n\nWindows Example:\n\nOn Windows if you execute this command::\n\n    mcinstall %USERPROFILE%\\downloads\\mc3\n\nit will run a command like this::\n\n    start /wait \"\" Miniconda3-latest-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /S /D=%USERPROFILE%\\downloads\\mc3\n\nThis conda installation can be activated then with a command like this::\n\n    %USERPROFILE%\\mc3\\condabin\\activate\n\nSuggested test::\n\n    mcinstall --verbose --pip-dependencies jupyter,torch ~/Downloads/torchy\n    source ~/Downloads/torchy/bin/activate\n    python -c \"import torch; print('ok')\"\n\nSuggested test dependencies files::\n\n    $ more ~/Downloads/reqs.txt\n    asciinema\n    torch\n    torchvision\n\n    $ more ~/Downloads/env.yml\n    name: test\n    channels:\n      - conda-forge\n    dependencies:\n      - voila\n\nSample run (replaced home directory with ``~`` manually)::\n\n    $ mcinstall --verbose --pip-dependencies jupyter,torch ~/Downloads/torchy\n    Making directory ~/Downloads/torchy.\n    Downloading https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh ...\n    Copying to ~/Downloads/Miniconda3-latest-MacOSX-x86_64.sh ...\n    Running command: bash ~/Downloads/Miniconda3-latest-MacOSX-x86_64.sh -b -f -p ~/Downloads/torchy\n    PREFIX=~/Downloads/torchy\n    Unpacking payload ...\n    Collecting package metadata (current_repodata.json): ...working... done\n    Solving environment: ...working... done\n\n    [...]\n\n    Preparing transaction: ...working... done\n    Executing transaction: ...working... done\n    installation finished.\n\n    Running command: ~/Downloads/torchy/bin/pip install jupyter\n    [...]\n\n    Running command: ~/Downloads/torchy/bin/pip install torch\n    [...]\n\n    Run this to start using your fresh Miniconda: \"source ~/Downloads/torchy/bin/activate\".\n\nExample command to pass index-url for pip::\n\n    mcinstall --verbose --pip-dependencies  pypi_pkg_test --pip-index-url https://test.pypi.org/simple/ ~/Downloads/torchy\n\nExample command to pass extra-index-url for pip::\n\n    mcinstall --verbose --pip-dependencies  pypi_pkg_test --pip-index-url https://test.pypi.org/simpletest/ --pip-extra-index-url https://test.pypi.org/simple/ ~/Downloads/torchy\n\nExample to pass multiple extra-index-url for pip::\n\n    mcinstall --verbose --pip-dependencies  pypi_pkg_test --pip-index-url https://test.pypi.org/simpletest/ --pip-extra-index-url https://test.pypi.org/simpletest1/,https://test.pypi.org/simple/ ~/Downloads/torchy\n\nSample log file (``mcinstall.log``)::\n\n    wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh\n    mv Miniconda3-latest-MacOSX-x86_64.sh ~/Downloads/Miniconda3-latest-MacOSX-x86_64.sh\n    bash ~/Downloads/Miniconda3-latest-MacOSX-x86_64.sh -b -f -p ~/Downloads/torchy\n    source ~/Downloads/torchy/bin/activate\n    ~/Downloads/torchy/bin/pip install jupyter\n    ~/Downloads/torchy/bin/pip install torch\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeplook%2Fmcinstall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeeplook%2Fmcinstall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeplook%2Fmcinstall/lists"}