~speijnik/python-argvalidate/devel

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Stephan Peijnik
  • Date: 2010-04-23 18:10:11 UTC
  • Revision ID: debian@sp.or.at-20100423181011-u1uo3ui7do6qw7gm
Initial import from HG tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#    This program is free software: you can redistribute it and/or modify
 
2
#    it under the terms of the GNU Lesser General Public License as published
 
3
#    by the Free Software Foundation, either version 3 of the License, or
 
4
#    (at your option) any later version.
 
5
#
 
6
#    This program is distributed in the hope that it will be useful,
 
7
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
8
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
9
#    GNU Lesser General Public License for more details.
 
10
#
 
11
#    You should have received a copy of the GNU Lesser General Public License
 
12
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
13
 
 
14
from argvalidate import __version__ as argvalidate_version
 
15
 
 
16
try:
 
17
    import nose
 
18
    argvalidate_test_suite = 'nose.collector'
 
19
except ImportError:
 
20
    argvalidate_test_suite = 'argvalidate_tests.ArgvalidateTestSuite'
 
21
 
 
22
 
 
23
from setuptools import setup
 
24
 
 
25
setup(
 
26
    name="argvalidate",
 
27
    version=argvalidate_version,
 
28
    py_modules = ['argvalidate'],
 
29
    author="Stephan Peijnik",
 
30
    author_email="stephan@peijnik.at",
 
31
    description="Simple argument validator library",
 
32
    license="LGPLv3+",
 
33
    url="http://code.sp-its.at/projects/argvalidate",
 
34
    test_suite=argvalidate_test_suite,
 
35
    classifiers=[
 
36
        'Development Status :: 4 - Beta',
 
37
        'Intended Audience :: Developers',
 
38
        'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
 
39
        'Operating System :: OS Independent',
 
40
        'Programming Language :: Python :: 2',
 
41
        'Topic :: Utilities',
 
42
        ],
 
43
    )