Skip to content

Latest commit

 

History

History
88 lines (57 loc) · 2.57 KB

README-dev.rst

File metadata and controls

88 lines (57 loc) · 2.57 KB

get bitshares price

https://bitsharestalk.org/BitSharesFinalTM200.png

This project provides bitshares price

Project Setup

Instructions

  1. Clone the project

    git clone git@github.com:pch957/btsprice.git
    cd btsprice
    
  2. Install the project's development and runtime requirements:

    sudo pip install -r requirements-dev.txt
    
  3. Install argparse package when developing for Python 2.6:

    sudo pip install argparse
    
  4. copy config.json.sample to config.json, and change the parameter:

    cp config.json.sample config.json
    vim config.json
    
  5. Run the tests:

    paver test_all
    

    You should see output similar to this:

    $ paver test_all
    ---> pavement.test_all
    No style errors
    ========================================================================= test session starts ==========================================================================
    platform linux2 -- Python 2.7.3[pypy-2.2.1-final] -- pytest-2.5.1
    collected 7 items
    
    tests/test_main.py .......
    
    ======================================================================= 7 passed in 0.59 seconds =======================================================================
      ___  _   ___ ___ ___ ___
     | _ \/_\ / __/ __| __|   \
     |  _/ _ \\__ \__ \ _|| |) |
     |_|/_/ \_\___/___/___|___/
    

    The substitution performed is rather naive, so some style errors may be reported if the description or name cause lines to be too long. Correct these manually before moving to the next step. If any unit tests fail to pass, please report an issue.

  6. build and install:

    paver build
    sudo paver install
    

Supported Python Versions

supports the following versions out of the box:

  • CPython 2.6, 2.7, 3.3
  • PyPy 1.9

CPython 3.0-3.2 may also work but are at this point unsupported. PyPy 2.0.2 is known to work but is not run on Travis-CI.

Jython and IronPython may also work, but have not been tested. If there is interest in support for these alternative implementations, please open a feature request!

Licenses

The code which makes up this project is licensed under the MIT/X11 license. Feel free to use it in your free software/open-source or proprietary projects.

Issues

Please report any bugs or requests that you have using the GitHub issue tracker!

Authors

  • Alt