Skip to content

Commit 901ce9c

Browse files
committed
Support for solc 0.4.17
1 parent 2c54a21 commit 901ce9c

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,24 +137,25 @@ listed platforms.
137137
* `v0.4.14` (linux/osx)
138138
* `v0.4.15` (linux/osx)
139139
* `v0.4.16` (linux/osx)
140+
* `v0.4.17` (linux/osx)
140141

141142
Installation can be done via the command line:
142143

143144
```bash
144-
$ python -m solc.install v0.4.16
145+
$ python -m solc.install v0.4.17
145146
```
146147

147148
Or from python using the `install_solc` function.
148149

149150
```python
150151
>>> from solc import install_solc
151-
>>> install_solc('v0.4.16')
152+
>>> install_solc('v0.4.17')
152153
```
153154

154-
The installed binary can be found under your home directory. The `v0.4.16`
155-
binary would be located at `$HOME/.py-solc/solc-v0.4.16/bin/solc`. Older linux
155+
The installed binary can be found under your home directory. The `v0.4.17`
156+
binary would be located at `$HOME/.py-solc/solc-v0.4.17/bin/solc`. Older linux
156157
installs will also require that you set the environment variable
157-
`LD_LIBRARY_PATH=$HOME/.py-solc/solc-v0.4.16/bin`
158+
`LD_LIBRARY_PATH=$HOME/.py-solc/solc-v0.4.17/bin`
158159

159160

160161
## Import path remappings

solc/install.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
V0_4_14 = 'v0.4.14'
2424
V0_4_15 = 'v0.4.15'
2525
V0_4_16 = 'v0.4.16'
26+
V0_4_17 = 'v0.4.17'
2627

2728

2829
LINUX = 'linux'
@@ -396,6 +397,7 @@ def install_from_static_linux(identifier):
396397
install_v0_4_14_linux = functools.partial(install_solc_from_static_linux, V0_4_14)
397398
install_v0_4_15_linux = functools.partial(install_solc_from_static_linux, V0_4_15)
398399
install_v0_4_16_linux = functools.partial(install_solc_from_static_linux, V0_4_16)
400+
install_v0_4_17_linux = functools.partial(install_solc_from_static_linux, V0_4_17)
399401

400402

401403
def install_from_source(identifier):
@@ -415,6 +417,7 @@ def install_from_source(identifier):
415417
install_v0_4_14_osx = functools.partial(install_from_source, V0_4_14)
416418
install_v0_4_15_osx = functools.partial(install_from_source, V0_4_15)
417419
install_v0_4_16_osx = functools.partial(install_from_source, V0_4_16)
420+
install_v0_4_17_osx = functools.partial(install_from_source, V0_4_17)
418421

419422

420423
INSTALL_FUNCTIONS = {
@@ -431,6 +434,7 @@ def install_from_source(identifier):
431434
V0_4_14: install_v0_4_14_linux,
432435
V0_4_15: install_v0_4_15_linux,
433436
V0_4_16: install_v0_4_16_linux,
437+
V0_4_17: install_v0_4_17_linux,
434438
},
435439
OSX: {
436440
V0_4_8: install_v0_4_8_osx,
@@ -440,6 +444,7 @@ def install_from_source(identifier):
440444
V0_4_14: install_v0_4_14_osx,
441445
V0_4_15: install_v0_4_15_osx,
442446
V0_4_16: install_v0_4_16_osx,
447+
V0_4_17: install_v0_4_17_osx,
443448
}
444449
}
445450

0 commit comments

Comments
 (0)