|
3 | 3 | [](https://gitter.im/ethereum/py-evm)
|
4 | 4 | [](http://py-evm.readthedocs.io/en/latest/?badge=latest)
|
5 | 5 |
|
6 |
| -[Documentation hosted by ReadTheDocs](http://py-evm.readthedocs.io/en/latest/) |
7 |
| - |
8 | 6 |
|
9 | 7 | ## Introducing Py-EVM
|
10 | 8 |
|
@@ -51,95 +49,15 @@ our architecture and API choices as well as general feedback and bug finding.
|
51 | 49 | - https://medium.com/@pipermerriam/py-evm-part-1-origins-25d9ad390b
|
52 | 50 |
|
53 | 51 |
|
54 |
| -## Development |
55 |
| -Py-EVM depends on a submodule of the common tests across all clients, |
56 |
| -so you need to clone the repo with the `--recursive` flag. Example: |
57 |
| - |
58 |
| -```sh |
59 |
| -git clone --recursive [email protected]:ethereum/py-evm.git |
60 |
| -``` |
61 |
| - |
62 |
| -Py-EVM requires Python 3. Often, the best way to guarantee a clean Python 3 environment is with [`virtualenv`](https://virtualenv.pypa.io/en/stable/), like: |
63 |
| - |
64 |
| -```sh |
65 |
| -# once: |
66 |
| -$ virtualenv -p python3 venv |
67 |
| - |
68 |
| -# each session: |
69 |
| -$ . venv/bin/activate |
70 |
| -``` |
71 |
| - |
72 |
| -Then install the required python packages via: |
73 |
| - |
74 |
| -```sh |
75 |
| -pip install -e .[dev] |
76 |
| -``` |
77 |
| - |
78 |
| - |
79 |
| -### Running the tests |
80 |
| - |
81 |
| -You can run the tests with: |
82 |
| - |
83 |
| -```sh |
84 |
| -pytest |
85 |
| -``` |
86 |
| - |
87 |
| -Or you can install `tox` to run the full test suite. |
88 |
| - |
89 |
| - |
90 |
| -### Releasing |
91 |
| - |
92 |
| -Pandoc is required for transforming the markdown README to the proper format to |
93 |
| -render correctly on pypi. |
94 |
| - |
95 |
| -For Debian-like systems: |
96 |
| - |
97 |
| -``` |
98 |
| -apt install pandoc |
99 |
| -``` |
100 |
| - |
101 |
| -Or on OSX: |
102 |
| - |
103 |
| -```sh |
104 |
| -brew install pandoc |
105 |
| -``` |
106 |
| - |
107 |
| -To release a new version: |
108 |
| - |
109 |
| -```sh |
110 |
| -bumpversion $$VERSION_PART_TO_BUMP$$ |
111 |
| -git push && git push --tags |
112 |
| -make release |
113 |
| -``` |
114 |
| - |
115 |
| -To create a docker image: |
116 |
| - |
117 |
| -```sh |
118 |
| -make create-docker-image version=<version> |
119 |
| -``` |
120 |
| - |
121 |
| -By default, this will create a new image with two tags pointing to it: |
122 |
| -- `ethereum/trinity:<version>` (explicit version) |
123 |
| -- `ethereum/trinity:latest` (latest until overwritten with a future "latest") |
124 |
| - |
125 |
| -Then, push to docker hub. |
126 |
| - |
127 |
| -```sh |
128 |
| -docker push ethereum/trinity:<version> |
129 |
| -# the following may be left out if we were pushing a patch for an older version |
130 |
| -docker push ethereum/trinity:latest |
131 |
| -``` |
132 |
| - |
| 52 | +## Quickstart |
133 | 53 |
|
134 |
| -#### How to bumpversion |
| 54 | +[Get started in 5 minutes](https://py-evm.readthedocs.io/en/latest/quickstart.html) |
135 | 55 |
|
136 |
| -The version format for this repo is `{major}.{minor}.{patch}` for stable, and |
137 |
| -`{major}.{minor}.{patch}-{stage}.{devnum}` for unstable (`stage` can be alpha or beta). |
| 56 | +## Documentation |
138 | 57 |
|
139 |
| -To issue the next version in line, use bumpversion and specify which part to bump, |
140 |
| -like `bumpversion minor` or `bumpversion devnum`. |
| 58 | +Check out the [documentation on our official website](http://py-evm.readthedocs.io/en/latest/) |
141 | 59 |
|
142 |
| -If you are in a beta version, `bumpversion stage` will switch to a stable. |
| 60 | +## Want to help? |
143 | 61 |
|
144 |
| -To issue an unstable version when the current version is stable, specify the |
145 |
| -new version explicitly, like `bumpversion --new-version 4.0.0-alpha.1 devnum` |
| 62 | +Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our |
| 63 | +guidelines for [contributing](https://py-evm.readthedocs.io/en/latest/contributing.html) and then check out one of our issues that are labeled [Good First Issue](https://github.com/ethereum/py-evm/issues?q=is%3Aissue+is%3Aopen+label%3A%22Good+First+Issue%22). |
0 commit comments