This repository has been archived by the owner on Dec 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 108
Python 3 Support #102
Merged
vbuterin
merged 9 commits into
ethereum:develop
from
pipermerriam:piper/add-travis-ci-testing
Jun 22, 2016
Merged
Python 3 Support #102
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
6e797d9
enable travis-ci based testing
pipermerriam 4c76daa
print as a function
pipermerriam 88ac38f
Fixes #85 - update extern to new format
pipermerriam 1a26a93
update readme with testing information
pipermerriam 0e5c681
add python version classifiers to setup.py
pipermerriam 29a9d98
more python3 compat
pipermerriam c8c5f15
use floord division
pipermerriam bc4ce59
fix setup.py and dox errors
pipermerriam 4501e9a
point at pyethereum develop
pipermerriam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
language: python | ||
python: | ||
- "3.5" | ||
env: | ||
matrix: | ||
- TOX_ENV=py27 | ||
- TOX_ENV=py34 | ||
- TOX_ENV=py35 | ||
cache: pip | ||
install: | ||
- "travis_retry pip install setuptools --upgrade" | ||
- "travis_retry pip install tox" | ||
script: | ||
- tox -e $TOX_ENV | ||
after_script: | ||
- cat .tox/$TOX_ENV/log/*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
Installation: | ||
# Installation: | ||
|
||
```make && sudo make install``` | ||
`make && sudo make install` | ||
|
||
|
||
# Testing | ||
|
||
Testing is done using `pytest` and `tox`. | ||
|
||
```bash | ||
$ pip install tox -r requirements-dev.txt | ||
``` | ||
|
||
|
||
To run the test suite in your current python version: | ||
|
||
```bash | ||
$ py.test | ||
``` | ||
|
||
|
||
To run the full test suite across all supported python versions: | ||
|
||
```bash | ||
$ tox | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pytest==2.9.2 | ||
#ethereum==1.3.6 | ||
https://github.com/ethereum/pyethereum/tarball/develop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[tox] | ||
envlist= | ||
py27, | ||
py34, | ||
py35 | ||
|
||
[testenv] | ||
commands=py.test --tb native {posargs:.} | ||
deps = | ||
-r{toxinidir}/requirements-dev.txt |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be adjusted to 3.4 + 3.5 rather, to reflect the support better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, copy/paste error.