public
Description: An addition to django that allows better presentation of date strings in a local way.
Homepage: http://code.google.com/p/django-localdates/
Clone URL: git://github.com/orestis/django-localdates.git
Click here to lend your support to: django-localdates and make a donation at www.pledgie.com !
django-localdates / setup.py
100644 34 lines (29 sloc) 1.269 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import os
from setuptools import setup
 
def find_files(directory, suffix_list):
    for root, dirs, files in os.walk(directory):
        relative_root = root[len(directory)+1:]
        for f in files:
            for suffix in suffix_list:
                if f.endswith(suffix):
                    yield os.path.join(relative_root, f)
 
package_data = list(find_files('localdates', ['.po', '.mo', '.html']))
 
kwargs = {
    'name' : 'django-localdates',
    'version' : '0.2',
    'description' : 'An addition to django that allows better presentation of date strings in a local way.',
    'author' : 'Orestis Markou',
    'author_email' : 'orestis@orestis.gr',
    'url' : 'http://code.google.com/p/django-localdates/',
    'packages' : ['localdates',
                  'localdates.templatetags'],
    'package_data': { 'localdates': package_data},
    'classifiers' : ['Development Status :: 5 - Production/Stable',
                     'Environment :: Web Environment',
                     'Intended Audience :: Developers',
                     'License :: OSI Approved :: BSD License',
                     'Operating System :: OS Independent',
                     'Programming Language :: Python',
                     'Topic :: Utilities'],
}
 
setup(**kwargs)