← 输入框|github.com|刷新
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
42e3118
~
Aug 8, 2009
26233af
Merge branch 'solving_flickering_on_vista' of github.com:Spacerat/Pyt…
Spacerat Apr 25, 2010
27f283b
Added fd, left, right, speed, and turnspeed.
Spacerat Apr 25, 2010
a4ae4bb
Merge branch 'working'
Spacerat Apr 25, 2010
cf43c76
Apparently negative speeds are ok.
Spacerat Apr 25, 2010
fbe1053
Un-commented home() back in.
Spacerat Apr 25, 2010
5121ef9
Fixed/Implimented valid_color().
Spacerat Apr 26, 2010
b59505b
Added set_pos(x,y) for the turtle.
Spacerat Apr 26, 2010
3b606b4
Add commands() command.
Spacerat Apr 26, 2010
e17022f
add setup py
Sep 28, 2010
c6b0a5f
add debian dir for packaging, fix display bug in src/turtlewidget.py
Sep 28, 2010
c1dd660
fix bug
Sep 28, 2010
6b7489f
rules
Sep 28, 2010
6e76cba
Makefile
Sep 28, 2010
0c5eea3
object oriented mode. don't work yet, but old mode works
Sep 29, 2010
eae3d75
oop works, but after every change send() needed
Sep 29, 2010
20616d0
gpl fix temporarly
Sep 29, 2010
ead6d23
license issues
Sep 29, 2010
8410ca4
mit
Sep 29, 2010
cffc40c
sdf
Sep 29, 2010
ccefae2
troubles license )
Sep 29, 2010
2d66858
Merge branch 'master' of http://github.com/Spacerat/PythonTurtle
Sep 29, 2010
722a810
gettext and russian translation
Sep 29, 2010
36040d6
some
Sep 29, 2010
564b197
startup script
Sep 29, 2010
6b45a67
use python-mkdebian for packaging
Sep 29, 2010
0d62fd8
delete makefile
Sep 29, 2010
f223618
development
Sep 29, 2010
229853d
system singleton, oop works well!
Sep 29, 2010
28eacdf
crossplatform setup.py
Sep 29, 2010
f92a4bf
som
Sep 29, 2010
4480958
distutils
Sep 29, 2010
038c4a7
egg, deb package
Sep 29, 2010
140f642
deprecate my_turtle, full oop approach. many images of animals. reset…
Sep 30, 2010
9c00d17
removed myturtle
Sep 30, 2010
5b8974d
working on debian
Sep 30, 2010
3726347
some
Oct 1, 2010
2d4dc0f
windows py2exe
Oct 1, 2010
efdf4f4
som
Oct 1, 2010
1bd4984
readme
Oct 1, 2010
890e8b0
com
Oct 1, 2010
a89a1c3
ee
Oct 1, 2010
fe3dd95
wq
Oct 1, 2010
076d242
macos
Oct 1, 2010
e98c6b7
co
Oct 1, 2010
6307343
sdf
Oct 1, 2010
7e40871
sdf
Oct 1, 2010
a38a1f9
sdf
Oct 1, 2010
c5add1c
fix #80
Oct 1, 2010
d6ebea0
windows installer (with installshield), frog image
Oct 1, 2010
03600c4
removed msi
Oct 1, 2010
64df4a5
deleted old packaging
Oct 1, 2010
40efe5c
some
Oct 1, 2010
b407337
some
Oct 3, 2010
039b9f4
some changes
Oct 6, 2010
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion MIT license 2009 Ram Rachum.txt → LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
OTHER DEALINGS IN THE SOFTWARE.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include README.markdown
include LICENSE
72 changes: 71 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,74 @@ PythonTurtle strives to provide the lowest-threshold way to learn Python. Studen

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.
This project is licensed under the MIT license.

# Building

## On Windows

You must have installed:

- [Python](http://www.activestate.com/activepython)
- [wxPython](http://www.wxpython.org/)
- [Distutils-extras](https://launchpad.net/python-distutils-extra)
- [py2exe](http://www.py2exe.org/)
- 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](http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en)

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 git@github.com: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

- Install XCode
- Install [macports](http://www.macports.org/)
- Then:

curl -O http://peak.telecommunity.com/dist/ez_setup.py
sudo python ez_setup.py -U setuptools
sudo easy_install -U py2app
sudo easy_install http://launchpad.net/python-distutils-extra/trunk/2.22/+download/python-distutils-extra-2.22.tar.gz
sudo port install py-psyco


- Get the code of PythonTurtle
- In code directory, run:

`python setup.py py2app`

# Installing

## On Windows

- to be done

## On Linux

### Debian/Ubuntu

sudo dpkg -i pythonturtle-xxx.deb
Empty file added data/frog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
10 changes: 10 additions & 0 deletions data/pythonturtle.desktop.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Desktop Entry]
_Name=PythonTurtle
_GenericName=PythonTurtle education program
Exec=/usr/bin/pythonturtle
Icon=pythonturtle
Type=Application
_Comment=Educational enviroment for Python programmingЖ
Terminal=false
StartupNotify=true
Categories=Education;
File renamed without changes
File renamed without changes
41 changes: 0 additions & 41 deletions packaging_scripts/PythonTurtle.iss

This file was deleted.

34 changes: 0 additions & 34 deletions packaging_scripts/plumbing/homedirectory.py

This file was deleted.

19 changes: 0 additions & 19 deletions packaging_scripts/plumbing/py2app_setup.py

This file was deleted.

40 changes: 0 additions & 40 deletions packaging_scripts/plumbing/py2exe_setup.py

This file was deleted.

4 changes: 0 additions & 4 deletions packaging_scripts/py2exe script.bat

This file was deleted.

3 changes: 3 additions & 0 deletions po/POTFILES.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[encoding: UTF-8]
data/pythonturtle.desktop.in
src/pythonturtle.py
93 changes: 93 additions & 0 deletions po/pythonturtle.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-10-01 01:35+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../data/pythonturtle.desktop.in.h:1
msgid "Educational enviroment for Python programmingЖ"
msgstr ""

#: ../data/pythonturtle.desktop.in.h:2 ../src/pythonturtle.py:276
msgid "PythonTurtle"
msgstr ""

#: ../data/pythonturtle.desktop.in.h:3
msgid "PythonTurtle education program"
msgstr ""

#: ../src/pythonturtle.py:114
msgid "Reset"
msgstr ""

#: ../src/pythonturtle.py:119
msgid "Reset, delete initial turtle"
msgstr ""

#: ../src/pythonturtle.py:127
msgid "E&xit"
msgstr ""

#: ../src/pythonturtle.py:134
msgid "&Help\tF1"
msgstr ""

#: ../src/pythonturtle.py:140
msgid "&About..."
msgstr ""

#: ../src/pythonturtle.py:144
msgid "&File"
msgstr ""

#: ../src/pythonturtle.py:145
msgid "&Help"
msgstr ""

#: ../src/pythonturtle.py:168
msgid "Level 1"
msgstr ""

#: ../src/pythonturtle.py:169
msgid "Level 2"
msgstr ""

#: ../src/pythonturtle.py:170
msgid "Level 3"
msgstr ""

#: ../src/pythonturtle.py:171
msgid "Level 4"
msgstr ""

#: ../src/pythonturtle.py:226
msgid ""
"An educational environment for learning Python, suitable for beginners and "
"children.\n"
"Inspired by LOGO.\n"
"\n"
"Runs on Python 2.6, using wxPython, Psyco and py2exe. Thanks go to the "
"developers\n"
"responsible for these projects, as well as to the helpful folks at the user "
"groups\n"
"of these projects, and at StackOverflow.com, who have helped solved many "
"problems\n"
"that came up in the making of this program."
msgstr ""

#: ../src/pythonturtle.py:235
msgid "MIT License, (C) 2009 Ram Rachum (\"cool-RR\")"
msgstr ""
Loading