author | Tero Marttila <terom@fixme.fi> |
Wed, 01 Jul 2009 20:46:27 +0300 | |
changeset 142 | 2b8dfacc6d2d |
parent 139 | d3167c40e7b9 |
permissions | -rw-r--r-- |
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 | 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 | 22 |
'degal', |
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 | 26 |
package_data = { |
27 |
'degal': [ 'templates/*.html', 'static/*' ], |
|
28 |
}, |
|
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 |
) |