author | Tero Marttila <terom@fixme.fi> |
Thu, 11 Jun 2009 23:24:48 +0300 | |
changeset 98 | d7d98c4479ab |
parent 45 | 69eb5a4678a4 |
child 137 | 59ffc766abd9 |
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", |
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 | 25 |
package_data = { |
26 |
'degal': [ 'templates/*.html', 'static/*' ], |
|
27 |
}, |
|
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 |
) |