-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
README.md
75 lines (47 loc) · 2.22 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Nim integration for Python PIP
- AutoInstall [Nim](http://nim-lang.org) directly from [Python PIP](https://pypi.org/project/choosenim-install).
- AutoInstall of `nim`, `nimble`, `nimpy`, `fusion`, `nodejs`, `cpython`.
# Use
```console
$ 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
$
```
![](https://raw.githubusercontent.com/juancarlospaco/choosenim_install/master/choosenim_install_windows.png)
- You can re-run it several times if you want.
![](https://raw.githubusercontent.com/juancarlospaco/choosenim_install/master/choosenim2.png)
- 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
- [**For Python Developers.**](https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programmers#table-of-contents)
# Stars
![](https://starchart.cc/juancarlospaco/choosenim_install.svg)
:star: [@juancarlospaco](https://github.com/juancarlospaco '2022-02-16')
:star: [@adokitkat](https://github.com/adokitkat '2022-10-09')
:star: [@hffqyd](https://github.com/hffqyd '2022-10-10')
:star: [@makkus](https://github.com/makkus '2022-10-13')
:star: [@jmetz](https://github.com/jmetz '2022-10-17')
:star: [@lf-araujo](https://github.com/lf-araujo '2023-01-01')
:star: [@shaoxie1986](https://github.com/shaoxie1986 '2023-10-08')
:star: [@alextremblay](https://github.com/alextremblay '2024-04-19')
:star: [@tuanductran](https://github.com/tuanductran '2024-05-29')