@@ -17,8 +17,8 @@ the time of day.
1717Getting your development environment set up
1818-------------------------------------------
1919
20- bpython supports Python 2.7, 3.6 and newer. The code is compatible with all
21- supported versions without the need to run post processing like ` 2to3 ` .
20+ bpython supports Python 3.6 and newer. The code is compatible with all
21+ supported versions.
2222
2323Using a virtual environment is probably a good idea. Create a virtual
2424environment with
@@ -47,7 +47,7 @@ Next install your development copy of bpython and its dependencies:
4747 # install optional dependencies
4848 $ pip install watchdog urwid
4949 # development dependencies
50- $ pip install sphinx mock nose
50+ $ pip install sphinx nose
5151 < modify a file in some way>
5252 # this runs your modified copy of bpython!
5353 $ bpython
@@ -60,14 +60,12 @@ Next install your development copy of bpython and its dependencies:
6060
6161 .. code-block :: bash
6262
63- $ sudp apt-get install python -greenlet python -pygments python -requests
64- $ sudo apt-get install python -watchdog python -urwid
65- $ sudo apt-get install python -sphinx python-mock python -nose
63+ $ sudp apt install python3 -greenlet python3 -pygments python3 -requests
64+ $ sudo apt install python3 -watchdog python3 -urwid
65+ $ sudo apt install python3 -sphinx python3 -nose
6666
67- Remember to replace ``python `` with ``python3 `` in every package name if
68- you intend to develop with Python 3. You also need to run `virtualenv ` with
69- `--system-site-packages ` packages, if you want to use the packages provided
70- by your distribution.
67+ You also need to run `virtualenv ` with `--system-site-packages ` packages, if
68+ you want to use the packages provided by your distribution.
7169
7270.. note ::
7371
@@ -76,7 +74,7 @@ Next install your development copy of bpython and its dependencies:
7674
7775 .. code-block :: bash
7876
79- $ sudo apt-get install gcc python -dev
77+ $ sudo apt install gcc python3 -dev
8078
8179 As a first dev task, I recommend getting `bpython ` to print your name every
8280time you hit a specific key.
0 commit comments