X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/07fdba2c7fe8e11b6867712d47bdd608e88c29fb..6642c1c71c5c6ce6ef3401c8c9da84cf076b018b:/setup.py diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index 0988321..09bb42b --- a/setup.py +++ b/setup.py @@ -1,19 +1,21 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- from distutils.core import setup - +from tests.utils import TestCommand setup( name='librarian', - version='1.1', + version='1.2.1', description='Converter from WolneLektury.pl XML-based language to XHTML, TXT and other formats', author='Marek Stępniowski', author_email='marek@stepniowski.com', url='http://redmine.nowoczesnapolska.org.pl/', - packages=['librarian', 'librarian.tests'], - package_dir={'librarian': 'librarian'}, + packages=['librarian', 'tests'], + package_dir={'librarian': 'librarian', 'tests': 'tests'}, package_data={ 'librarian': ['*.xslt'], - 'librarian.tests': ['files/dcparser/*.xml', 'files/erroneous/*.xml'], + 'tests': ['files/dcparser/*.xml', 'files/erroneous/*.xml'], }, scripts=['scripts/book2html', 'scripts/book2txt', 'scripts/bookfragments', 'scripts/genslugs'], + cmdclass={'test': TestCommand}, )