09bb42b6f8e98edc57f80394c957512fd4bfe68c
[librarian.git] / setup.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 from distutils.core import setup
4 from tests.utils import TestCommand
5
6 setup(
7     name='librarian',
8     version='1.2.1',
9     description='Converter from WolneLektury.pl XML-based language to XHTML, TXT and other formats',
10     author='Marek StÄ™pniowski',
11     author_email='marek@stepniowski.com',
12     url='http://redmine.nowoczesnapolska.org.pl/',
13     packages=['librarian', 'tests'],
14     package_dir={'librarian': 'librarian', 'tests': 'tests'},
15     package_data={
16         'librarian': ['*.xslt'],
17         'tests': ['files/dcparser/*.xml', 'files/erroneous/*.xml'],
18     },
19     scripts=['scripts/book2html', 'scripts/book2txt', 'scripts/bookfragments', 'scripts/genslugs'],
20     cmdclass={'test': TestCommand},
21 )