Giter VIP home page Giter VIP logo

pythonturtle's Introduction

Homepage: http://pythonturtle.org A Windows installer is available from there.

PythonTurtle strives to provide the lowest-threshold way to learn Python. Students command an interactive Python shell (similar to the IDLE development environment) and use Python functions to move a turtle displayed on the screen. An illustrated help screen introduces the student to the basics of Python programming while demonstrating how to move the turtle.

Screen shot

Tested with Python 2.6 and wxPython 2.8.10.1. Currently tested only on Windows and Ubuntu.

This project is licensed under the MIT license.

Building

On Windows

You must have installed:

  • Python
  • wxPython
  • Distutils-extras
  • py2exe
  • Microsoft VC redistributable DLLs (say thanks to Billy for this hell) on c:/Program Files/Microsoft Visual Studio 9.0/VC/redist/x86/Microsoft.VC90.CRT or c:\Python27\vcruntime. Try get it here

Get PythonTurtle source code and in it's directory run: python setup.py py2exe

You get .exe and many files in ./dist directory

Building installer for Windows

  • Install InstallShield
  • Open pythonturtle.ism
  • Build project

On Linux

Debian/Ubuntu

sudo apt-get install python-distutils-extra python-stdeb 
git clone [email protected]:darvin/PythonTurtle.git
cd PythonTurtle
python setup.py --command-packages=stdeb.command bdist_deb

You will have .deb package in deb_dist directory

RPM-based distros

python setup.py bdist_rpm

You will have .rpm packages in dist directory

On Mac OS X

python setup.py py2app

Installing

On Windows

  • to be done

On Linux

Debian/Ubuntu

sudo dpkg -i pythonturtle-xxx.deb

pythonturtle's People

Contributors

spacerat avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

pythonturtle's Issues

Setup.py didn't finish building the .deb

Hi,

I tried your instructions on my Ubuntu 10.04 machine and got the following:

$ sudo python setup.py --command-packages=stdeb.command bdist_deb
{'scripts': ['src/pythonturtle']}
running bdist_deb
running sdist_dsc
running egg_info
creating PythonTurtle.egg-info
writing requirements to PythonTurtle.egg-info/requires.txt
writing PythonTurtle.egg-info/PKG-INFO
writing top-level names to PythonTurtle.egg-info/top_level.txt
writing dependency_links to PythonTurtle.egg-info/dependency_links.txt
writing manifest file 'PythonTurtle.egg-info/SOURCES.txt'
reading manifest file 'PythonTurtle.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'PythonTurtle.egg-info/SOURCES.txt'
E: The cache directory is empty. You need to run 'apt-file update' first.
ERROR running: apt-file search --ignore-case --regexp (/(wx|psyco)(?:-[^/]+)?(?:-py[0-9]\.[0-9.]+)?\.egg-info)
Traceback (most recent call last):
  File "setup.py", line 117, in 
    setup( **options)
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/pymodules/python2.6/stdeb/command/bdist_deb.py", line 23, in run
    self.run_command('sdist_dsc')
  File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/pymodules/python2.6/stdeb/command/sdist_dsc.py", line 222, in run
    sdist_dsc_command = self,
  File "/usr/lib/pymodules/python2.6/stdeb/util.py", line 712, in __init__
    install_requires))
  File "/usr/lib/pymodules/python2.6/stdeb/util.py", line 281, in get_deb_depends_from_setuptools_requires
    args))
RuntimeError: returncode 1 from subprocess ['apt-file', 'search', '--ignore-case', '--regexp', '(/(wx|psyco)(?:-[^/]+)?(?:-py[0-9]\\.[0-9.]+)?\\.egg-info)']
$

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.