Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/setup.py
blob: efa21596930da373a38f69972ff6f31c0171cadc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env python
import os

if 'SUGAR_ACTIVITY_ROOT' in os.environ:
    from sugar.activity import bundlebuilder

    if __name__ == "__main__":
        bundlebuilder.start()
else:
    import glob, os.path, string
    from distutils.core import setup

    DATA_FILES = [
        ('icons', glob.glob('icons/*')),
        ('images', glob.glob('images/*')),
        ('/usr/share/applications', ['turtleart.desktop'])
        ]

    setup (name = 'Turtle Art',
           description = "A LOGO-like tool for teaching programming",
           author = "Walter Bender",
           author_email = "walter.bender@gmail.com",
           version = '0.9.4',
           packages = ['TurtleArt'],
           scripts = ['turtleart'],
           data_files = DATA_FILES,
           )