Skip to content

Commit

Permalink
Merge pull request #85 from TokenMarketNet/feat/py-solc-upgrade
Browse files Browse the repository at this point in the history
requirements: Upgraded py-solc to support newer solc
  • Loading branch information
miohtama committed Nov 17, 2017
2 parents d7343ad + 263fbaf commit 481b022
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,17 @@ Then install ``ico`` Python package and its dependencies:
pip install -r requirements.txt
pip install -e .
Using your desired Solc version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sometimes it's useful to use some certain version of the Solidity compiler,
this can be done using py-solc package, like this:

.. code-block:: console
python -m solc.install v0.4.16
If you are lucky, you can now run binary ~/.py-solc/solc-v0.4.16/bin/solc.
The binary is not available every platform.
Remember to update your PATH accordingly:

.. code-block:: console
export PATH=/home/YOURNAME/.py-solc/solc-v0.4.16/bin:$PATH
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pbkdf2==1.3
populus==1.9.0
py==1.4.34
py-geth==1.9.0
py-solc==1.2.2
py-solc==1.4.0
pycparser==2.18
pycryptodome==3.4.6
pyethash==0.1.27
Expand Down

0 comments on commit 481b022

Please sign in to comment.