From bab3f32ede764d042ad16723fbbbaf3ade1e867d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 24 Sep 2008 15:55:03 +0200 Subject: [PATCH] Fix setup classifiers and license --- setup.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index cc22b8e0ce..72b3d71c21 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ #!/usr/bin/env python -#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. +#This file is part of Tryton. The COPYRIGHT file at the top level of +#this repository contains the full copyright notices and license terms. from distutils.core import setup from distutils.command import sdist @@ -32,8 +33,9 @@ setup(name='trytond-' + info['name'].lower(), 'trytond.modules.' + info['name'].lower(), ], package_data={ - 'trytond.modules.' + info['name'].lower(): info.get('xml', []), - 'trytond.modules.' + info['name'].lower(): ['sale.odt'], + 'trytond.modules.' + info['name'].lower(): info.get('xml', []) \ + + info.get('translation', []) \ + + ['sale.odt'], }, classifiers=[ 'Development Status :: 5 - Production/Stable', @@ -41,13 +43,14 @@ setup(name='trytond-' + info['name'].lower(), 'Intended Audience :: Developers', 'Intended Audience :: Financial and Insurance Industry', 'Intended Audience :: Legal Industry', + 'License :: OSI Approved :: GNU General Public License (GPL)', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Office/Business', 'Topic :: Office/Business :: Financial :: Accounting', ], - license=info.get('license', 'GPL-2'), + license='GPL-3', #requires=requires, cmdclass={ 'sdist': mysdist,