brooksc / mcpipy

Python scripts for controlling Minecraft Pi Edition on Raspberry Pi, as highlighted at mcpipy.com
154 stars 51 forks source link

Python 3 changes and setup.py to install with pip #7

Closed claudiordgz closed 9 years ago

claudiordgz commented 9 years ago
  1. I need to be able to install mcpi with pip as follow:

    pip install git+git://github.com/claudiordgz/mcpipy.git@master#egg=mcpi

    The idea is that users can install that and run the examples from there.

    from mcpi.examples import *

  2. I also used @dj-foxxy pull request in which he moved the examples, and added it as an extra package
  3. I also did tiny changes and relative importing for Python 3 usage.