Skip to content

Commit 102f725

Browse files
committed
correct syntax highlighting for code-blocks
1 parent 18cae70 commit 102f725

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

docs/shipping/packaging.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,28 @@ assuming this is your directory structure:
3737
- MyPackage.tar.gz
3838

3939
Go to your command prompt and type:
40-
::
4140

42-
$ cd archive
43-
$ python -m SimpleHTTPServer 9000
41+
.. code-block:: console
42+
43+
$ cd archive
44+
$ python -m SimpleHTTPServer 9000
4445
4546
This runs a simple http server running on port 9000 and will list all packages
4647
(like **MyPackage**). Now you can install **MyPackage** using any python
4748
package installer. Using Pip, you would do it like:
48-
::
4949

50-
$ pip install --extra-index-url=http://127.0.0.1:9000/ MyPackage
50+
.. code-block:: console
51+
52+
$ pip install --extra-index-url=http://127.0.0.1:9000/ MyPackage
5153
5254
Having a folder with the same name as the package name is **crucial** here.
5355
I got fooled by that, one time. But if you feel that creating a folder called
5456
**MyPackage** and keeping **MyPackage.tar.gz** inside that, is *redundant*,
5557
you can still install MyPackage using:
56-
::
5758

58-
$ pip install http://127.0.0.1:9000/MyPackage.tar.gz
59+
.. code-block:: console
60+
61+
$ pip install http://127.0.0.1:9000/MyPackage.tar.gz
5962
6063
Chishop
6164
+++++++

0 commit comments

Comments
 (0)