setup.py
author Tero Marttila <terom@fixme.fi>
Sun, 14 Jun 2009 16:10:30 +0300
branchnew-exif
changeset 108 f74d8cf678ce
parent 45 69eb5a4678a4
child 137 59ffc766abd9
permissions -rw-r--r--
relocate the new exif module to lib/, as it's not really part of degal as such
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",
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     8
    version         = "0.1",
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        = [
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    22
        '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
    23
    ],
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
42
146997912efb setup.py sdist works now
Tero Marttila <terom@fixme.fi>
parents: 40
diff changeset
    25
    package_data    = {
146997912efb setup.py sdist works now
Tero Marttila <terom@fixme.fi>
parents: 40
diff changeset
    26
        'degal': [ 'templates/*.html', 'static/*' ],
146997912efb setup.py sdist works now
Tero Marttila <terom@fixme.fi>
parents: 40
diff changeset
    27
    },
146997912efb setup.py sdist works now
Tero Marttila <terom@fixme.fi>
parents: 40
diff changeset
    28
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
    29
    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
    30
        'bin/degal',
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
        'scripts/fix_duplicate_shorturls.py', 'scripts/migrate_shorturls.py',
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
    32
        'cgi-bin/series.py', 'cgi-bin/shorturl.py',
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
    33
    ],
373392025533 write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    34
)