From b7d2125c3974c00966201396664266a105fd9fe7 Mon Sep 17 00:00:00 2001 From: Moguf Date: Wed, 24 Aug 2016 12:10:23 +0900 Subject: [PATCH] MOD: rewrite formats of readme.rst. --- README.rst | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/README.rst b/README.rst index e11c0ee..b1af196 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,6 @@ .. -*- mode: rst -*- -|Travis|_ |Coveralls|_ |Python35|_ +|Travis|_ |Coveralls|_ |Python35| .. |Travis| image:: https://travis-ci.org/Moguf/cafepy.svg?branch=master .. _Travis: https://travis-ci.org/Moguf/cafepy @@ -20,44 +20,44 @@ Requirements - python3 >= 3.5.1 -* Install virtualenv. (RECOMMEND:for protecting your Home environment.) + +RECOMMEND +--------- + +Install virtualenv. (RECOMMEND:for protecting your Home environment.) :: python3 -m pip install -U pip setuptools python3 -m pip install virtualenv + # or + pip3 install virtualenv -# or -pip3 install virtualenv -``` -* activate virtualenv -```bash -virtualenv -p python3 venv -source venv/bin/activate -# Removing virtual environment -# (venv) deactivate -``` + +* activate virtualenv:: + + virtualenv -p python3 venv + source venv/bin/activate + # Removing virtual environment + # (venv) deactivate + Set Up ------ +:: + python3 -m pip install -r requirements.txt + # or + pip3 install -r requirements.txt -```bash -python3 -m pip install -r requirements.txt -# or -pip3 install -r requirements.txt -``` build & install --------------- - -``` -cd cafepy -python3 setup.py build -python3 setup.py install -``` +:: + cd cafepy + python3 setup.py build + python3 setup.py install Example ------- +:: + python3 -m cafepy com -f filename.dcd -o output.file -```bash -python3 -m cafepy com -f filename.dcd -o output.file -```