10000 add a setup.py script for use of setuptools · odony/python-stdnum@967f2ae · GitHub
[go: up one dir, main page]

Skip to content

Commit 967f2ae

Browse files
committed
add a setup.py script for use of setuptools
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@8 9dea7c4f-944c-4273-ac1a-574ede026edc
1 parent ca5f850 commit 967f2ae

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

setup.py

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#!/usr/bin/env python
2+
3+
# setup.py - python-stdnum installation script
4+
#
5+
# Copyright (C) 2010 Arthur de Jong
6+
#
7+
# This library is free software; you can redistribute it and/or
8+
# modify it under the terms of the GNU Lesser General Public
9+
# License as published by the Free Software Foundation; either
10+
# version 2.1 of the License, or (at your option) any later version.
11+
#
12+
# This library is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
# Lesser General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU Lesser General Public
18+
# License along with this library; if not, write to the Free Software
19+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20+
# 02110-1301 USA
21+
22+
"""python-stdnum installation script."""
23+
24+
import os
25+
from setuptools import setup, find_packages
26+
27+
setup(name='python-stdnum',
28+
version='0.1',
29+
packages=find_packages(),
30+
author='Arthur de Jong',
31+
author_email='arthur@arthurdejong.org',
32+
url='http://arthurdejong.org/python-stdnum',
33+
license='LGPL',
34+
description='Python module to handle standardized numbers and codes',
35+
long_description= \
36+
"""A Python module to parse, validate and reformat standard numbers
37+
and codes in different formats.
38+
39+
Currently this module supports the following formats:
40+
41+
* ISBN (International Standard Book Number)
42+
* ISSN (International Standard Serial Number)
43+
* BSN (Burgerservicenummer, the Dutch national identification number)
44+
""",
45+
classifiers=[
46+
'Development Status :: 4 - Beta',
47+
'Intended Audience :: Developers',
48+
'Intended Audience :: System Administrators',
49+
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
50+
'Operating System :: OS Independent',
51+
'Programming Language :: Python',
52+
'Topic :: Software Development :: Libraries :: Python Modules',
53+
'Topic :: Text Processing :: General',
54+
],
55+
)

0 commit comments

Comments
 (0)
0