Skip to content

Nim integration for Python PIP, install Nim via PIP, write Python modules using Nim

License

Notifications You must be signed in to change notification settings

juancarlospaco/choosenim_install

Repository files navigation

Nim integration for Python PIP

  • AutoInstall Nim directly from Python PIP.
  • AutoInstall of nim, nimble, nimpy, fusion, nodejs, cpython.

Use

$ nim --version
nim: command not found

$ pip install choosenim_install
    choosenim-init: Downloading choosenim-0.6.0_linux_amd64
          Info: Version 1.2.0 already selected
    choosenim-init: ChooseNim installed in /home/juan/.nimble/bin
    Downloading Official package list
        Success Package list downloaded.

Successfully built choosenim-install
Successfully installed choosenim-install-0.0.1

$ nim --version
Nim Compiler Version 1.2.6 [Linux: amd64]
Compiled at 2020-04-03
Copyright (c) 2006-2020 by Andreas Rumpf
active boot switches: -d:release

$

  • You can re-run it several times if you want.

  • Update an old version of Nim to the latest just by reinstalling the package using PIP.

Requisites

Stable

  • Python >=3.5, CPython implementation, Linux or Windows, x86 and ARM, 64Bit.

Experimental

  • Mac, PYPY2, PYPY3, Python2, 32Bit are all Experimental.

History

Originally this used multiple bundled choosenim to install Nim, now it re-implements choosenim functionalities in pure Python.

More Info

Stars

@juancarlospaco@adokitkat@hffqyd@makkus@jmetz@lf-araujo@shaoxie1986@alextremblay@tuanductran