| 1 | 00 |
|---|
| 2 | |
|---|
| 3 | from setuptools import setup, find_packages |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | setup( |
|---|
| 7 | name = 'InfoCardAccountManager', |
|---|
| 8 | version = '0.2', |
|---|
| 9 | author = 'Duane Buss', |
|---|
| 10 | author_email = 'dbuss@novell.com', |
|---|
| 11 | url = 'http://code.bandit-project.org/trac/wiki/InfoCardAcctPlugin', |
|---|
| 12 | description = 'User InfoCard management plugin for Trac', |
|---|
| 13 | |
|---|
| 14 | license = ''' |
|---|
| 15 | |
|---|
| 16 | Copyright (c) 2007 Novell, Inc. |
|---|
| 17 | All Rights Reserved. |
|---|
| 18 | |
|---|
| 19 | This library is free software; you can redistribute it and/or |
|---|
| 20 | modify it under the terms of the GNU Lesser General Public License as |
|---|
| 21 | published by the Free Software Foundation; version 2.1 of the license. |
|---|
| 22 | |
|---|
| 23 | This library is distributed in the hope that it will be useful, |
|---|
| 24 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 26 | GNU Lesser General Public License for more details. |
|---|
| 27 | |
|---|
| 28 | You should have received a copy of the GNU Lesser General Public License |
|---|
| 29 | along with this library; if not, contact Novell, Inc. |
|---|
| 30 | |
|---|
| 31 | To contact Novell about this file by physical or electronic mail, |
|---|
| 32 | you may find current contact information at www.novell.com |
|---|
| 33 | |
|---|
| 34 | This library incorporates work covered by the following copyright and |
|---|
| 35 | permission notices: |
|---|
| 36 | |
|---|
| 37 | ------------ |
|---|
| 38 | The terms of this license as described in the Trac distribution file |
|---|
| 39 | 'COPYING', and also available at http://trac.edgewall.org/wiki/TracLicense. |
|---|
| 40 | |
|---|
| 41 | Copyright (C) 2003-2007 Edgewall Software |
|---|
| 42 | All rights reserved. |
|---|
| 43 | |
|---|
| 44 | Redistribution and use in source and binary forms, with or without |
|---|
| 45 | modification, are permitted provided that the following conditions |
|---|
| 46 | are met: |
|---|
| 47 | |
|---|
| 48 | 1. Redistributions of source code must retain the above copyright |
|---|
| 49 | notice, this list of conditions and the following disclaimer. |
|---|
| 50 | 2. Redistributions in binary form must reproduce the above copyright |
|---|
| 51 | notice, this list of conditions and the following disclaimer in |
|---|
| 52 | the documentation and/or other materials provided with the |
|---|
| 53 | distribution. |
|---|
| 54 | 3. The name of the author may not be used to endorse or promote |
|---|
| 55 | products derived from this software without specific prior |
|---|
| 56 | written permission. |
|---|
| 57 | |
|---|
| 58 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS |
|---|
| 59 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|---|
| 60 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
|---|
| 61 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
|---|
| 62 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|---|
| 63 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
|---|
| 64 | GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
|---|
| 65 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER |
|---|
| 66 | IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
|---|
| 67 | OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
|---|
| 68 | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|---|
| 69 | |
|---|
| 70 | |
|---|
| 71 | This software consists of voluntary contributions made by many |
|---|
| 72 | individuals. For the exact contribution history, see the revision |
|---|
| 73 | history and logs, available at http://trac.edgewall.org/log/. |
|---|
| 74 | |
|---|
| 75 | |
|---|
| 76 | ------------ |
|---|
| 77 | "THE BEER-WARE LICENSE" (Revision 42): |
|---|
| 78 | <trac@matt-good.net> wrote this file. As long as you retain this notice you |
|---|
| 79 | can do whatever you want with this stuff. If we meet some day, and you think |
|---|
| 80 | this stuff is worth it, you can buy me a beer in return. Matthew Good |
|---|
| 81 | ------------ |
|---|
| 82 | Some files originated from Robert Richards CDATA blog, |
|---|
| 83 | downloaded from http://www.cdatazone.org/index.php?/pages/source.html |
|---|
| 84 | http://www.cdatazone.org/files/pubdomain.tar.gz |
|---|
| 85 | According to blog entry |
|---|
| 86 | http://www.cdatazone.org/index.php?/archives/26-Catching-Up.html |
|---|
| 87 | posted Thursday, July 5. 2007 the libraries have been released under a |
|---|
| 88 | bsd style license. |
|---|
| 89 | |
|---|
| 90 | Copyright (c) 2007, Robert Richards <rrichards@ctindustries.net>. |
|---|
| 91 | All rights reserved. |
|---|
| 92 | |
|---|
| 93 | Redistribution and use in source and binary forms, with or without |
|---|
| 94 | modification, are permitted provided that the following conditions |
|---|
| 95 | are met: |
|---|
| 96 | |
|---|
| 97 | Redistributions of source code must retain the above copyright |
|---|
| 98 | notice, this list of conditions and the following disclaimer. |
|---|
| 99 | |
|---|
| 100 | * Redistributions in binary form must reproduce the above copyright |
|---|
| 101 | notice, this list of conditions and the following disclaimer in |
|---|
| 102 | the documentation and/or other materials provided with the |
|---|
| 103 | distribution. |
|---|
| 104 | |
|---|
| 105 | * Neither the name of Robert Richards nor the names of his |
|---|
| 106 | contributors may be used to endorse or promote products derived |
|---|
| 107 | from this software without specific prior written permission. |
|---|
| 108 | |
|---|
| 109 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|---|
| 110 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|---|
| 111 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
|---|
| 112 | FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
|---|
| 113 | COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
|---|
| 114 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
|---|
| 115 | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
|---|
| 116 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
|---|
| 117 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|---|
| 118 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|---|
| 119 | ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|---|
| 120 | POSSIBILITY OF SUCH DAMAGE. |
|---|
| 121 | |
|---|
| 122 | |
|---|
| 123 | ''', |
|---|
| 124 | |
|---|
| 125 | |
|---|
| 126 | zip_safe=True, |
|---|
| 127 | packages=find_packages(exclude=['*.tests']), |
|---|
| 128 | package_data={'infocard_acct': ['htdocs/images/*.png', |
|---|
| 129 | 'templates/*.html', 'templates/*.txt']}, |
|---|
| 130 | |
|---|
| 131 | install_requires = [ |
|---|
| 132 | 'TracAccountManager', |
|---|
| 133 | 'Trac >= 0.11dev_r6153', |
|---|
| 134 | 'M2Crypto >= 0.18' |
|---|
| 135 | ], |
|---|
| 136 | |
|---|
| 137 | entry_points = """ |
|---|
| 138 | [console_scripts] |
|---|
| 139 | trac-admin-acct = infocard_acct.console:run |
|---|
| 140 | |
|---|
| 141 | [trac.plugins] |
|---|
| 142 | infocard_acct.association = infocard_acct.association |
|---|
| 143 | infocard_acct.db = infocard_acct.db |
|---|
| 144 | infocard_acct.ldapstore = infocard_acct.ldapstore |
|---|
| 145 | infocard_acct.web_ui = infocard_acct.web_ui |
|---|
| 146 | infocard_acct.groups = infocard_acct.groups |
|---|
| 147 | infocard_acct.session = infocard_acct.session |
|---|
| 148 | """, |
|---|
| 149 | |
|---|
| 150 | test_suite = 'infocard_acct.tests.suite', |
|---|
| 151 | |
|---|
| 152 | ) |
|---|