source: TI12-security/trunk/python/ndg_security_common_utils_openid_dbinterface/setup.py @ 5868

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg_security_common_utils_openid_dbinterface/setup.py@5868
Revision 5868, 1.6 KB checked in by pjkersha, 11 years ago (diff)

Added a console_scripts entry point for the OpenID database utility.

  • Property svn:executable set to *
Line 
1#!/usr/bin/env python
2"""Distribution Utilities setup program for OpenID Database Interface Package
3
4NERC DataGrid Project
5"""
6__author__ = "P J Kershaw"
7__date__ = "17/09/07"
8__copyright__ = "(C) 2009 Science and Technology Facilities Council"
9__license__ = "BSD - see LICENSE file in top-level directory"
10__contact__ = "Philip.Kershaw@stfc.ac.uk"
11__revision__ = '$Id$'
12
13# Bootstrap setuptools if necessary.
14from ez_setup import use_setuptools
15use_setuptools()
16from setuptools import setup, find_packages
17import os
18   
19setup(
20    name =                      'openid_dbinterface',
21    version =                   '0.0.2',
22    description =               'NDG Security OpenID Database Interface Package',
23    long_description = \
24'''Contains utilities for creating OpenIDs based on existing user account
25details in a Postgres database and also for querying for a the existing of
26a given user account
27''',
28    author =                    'Philip Kershaw',
29    author_email =              'Philip.Kershaw@stfc.ac.uk',
30    maintainer =                'Philip Kershaw',
31    maintainer_email =          'Philip.Kershaw@stfc.ac.uk',
32    url =                       'http://proj.badc.rl.ac.uk/ndg/wiki/Security',
33    license =               'BSD - See LICENCE file for details',
34    packages =                      find_packages(),
35    namespace_packages =        ['ndg', 
36                             'ndg.security', 
37                             'ndg.security', 
38                             'ndg.security.common',
39                             'ndg.security.common.utils'],
40    include_package_data =  True,
41    entry_points = """
42    [console_scripts]
43    openid_dbinterface=ndg.security.common.utils.openid.dbinterface:Main.run
44    """,
45    zip_safe =              False
46)
Note: See TracBrowser for help on using the repository browser.