setup.py
author Tero Marttila <terom@fixme.fi>
Wed, 01 Jul 2009 20:15:08 +0300
changeset 139 d3167c40e7b9
parent 137 59ffc766abd9
permissions -rw-r--r--
remove old scripts/cgi-bin stuff. They wouldn't work as such with the new version, and replacements can be written while referring to the history
40
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     1
#!/usr/bin/env python
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     2
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     3
from distutils.core import setup
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     4
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     5
setup(
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     6
    # metadata
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     7
    name            = "Degal",
137
59ffc766abd9 update setuptools config
Tero Marttila <terom@fixme.fi>
parents: 45
diff changeset
     8
    version         = "0.9",
40
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     9
    description     = "Image gallery script",
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    10
    author          = "Tero Marttila",
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    11
    author_email    = "terom@fixme.fi",
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    12
    url             = "http://projects.qmsk.net/degal",
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    13
    
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    14
    # dependencies
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    15
    requires        = [
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    16
        "mako",
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    17
        
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    18
    ],
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    19
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    20
    # manifest
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    21
    packages        = [
137
59ffc766abd9 update setuptools config
Tero Marttila <terom@fixme.fi>
parents: 45
diff changeset
    22
        'degal',
59ffc766abd9 update setuptools config
Tero Marttila <terom@fixme.fi>
parents: 45
diff changeset
    23
        'degal.commands',
40
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    24
    ],
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    25
42
146997912efb setup.py sdist works now
Tero Marttila <terom@fixme.fi>
parents: 40
diff changeset
    26
    package_data    = {
146997912efb setup.py sdist works now
Tero Marttila <terom@fixme.fi>
parents: 40
diff changeset
    27
        'degal': [ 'templates/*.html', 'static/*' ],
146997912efb setup.py sdist works now
Tero Marttila <terom@fixme.fi>
parents: 40
diff changeset
    28
    },
146997912efb setup.py sdist works now
Tero Marttila <terom@fixme.fi>
parents: 40
diff changeset
    29
40
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    30
    scripts         = [
45
69eb5a4678a4 move scripts/degal to bin/degal, update setup.py to include bin/cgi-bin/scripts as scripts
Tero Marttila <terom@fixme.fi>
parents: 42
diff changeset
    31
        'bin/degal',
40
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    32
    ],
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    33
)