setup.py
author Tero Marttila <terom@fixme.fi>
Wed, 03 Jun 2009 19:22:41 +0300
branchuse-distutils
changeset 43 d229f64aeb39
parent 42 146997912efb
child 45 69eb5a4678a4
permissions -rw-r--r--
add GPLv3 license in COPYING for interim use
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         = [
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/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
    31
    ],
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
)