author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 05 May 2010 18:54:04 +0200 | |
branch | oldstable |
changeset 5484 | 95f2384b4495 |
parent 5424 | 8ecbcbff9777 |
child 5426 | 0d4853a6e5ee |
permissions | -rw-r--r-- |
0 | 1 |
#!/usr/bin/env python |
5421
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
2 |
# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
3 |
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
4 |
# |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
5 |
# This file is part of CubicWeb. |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
6 |
# |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
7 |
# CubicWeb is free software: you can redistribute it and/or modify it under the |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
8 |
# terms of the GNU Lesser General Public License as published by the Free |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
9 |
# Software Foundation, either version 2.1 of the License, or (at your option) |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
10 |
# any later version. |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
11 |
# |
5424
8ecbcbff9777
replace logilab-common by CubicWeb in disclaimer
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
5421
diff
changeset
|
12 |
# CubicWeb is distributed in the hope that it will be useful, but WITHOUT |
5421
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
13 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
14 |
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
15 |
# details. |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
16 |
# |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
17 |
# You should have received a copy of the GNU Lesser General Public License along |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
18 |
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
1977
606923dff11b
big bunch of copyright / docstring update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
1802
diff
changeset
|
19 |
""" |
606923dff11b
big bunch of copyright / docstring update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
1802
diff
changeset
|
20 |
|
606923dff11b
big bunch of copyright / docstring update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
1802
diff
changeset
|
21 |
""" |
0 | 22 |
# pylint: disable-msg=W0404,W0622,W0704,W0613,W0152 |
4212
ab6573088b4a
update copyright: welcome 2010
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
1977
diff
changeset
|
23 |
# Copyright (c) 2003-2010 LOGILAB S.A. (Paris, FRANCE). |
0 | 24 |
# http://www.logilab.fr/ -- mailto:contact@logilab.fr |
25 |
# |
|
26 |
# This program is free software; you can redistribute it and/or modify it under |
|
27 |
# the terms of the GNU General Public License as published by the Free Software |
|
28 |
# Foundation; either version 2 of the License, or (at your option) any later |
|
29 |
# version. |
|
30 |
# |
|
31 |
# This program is distributed in the hope that it will be useful, but WITHOUT |
|
32 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|
33 |
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
|
34 |
# |
|
35 |
# You should have received a copy of the GNU General Public License along with |
|
36 |
# this program; if not, write to the Free Software Foundation, Inc., |
|
37 |
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
38 |
""" Generic Setup script, takes package info from __pkginfo__.py file """ |
|
39 |
||
40 |
from distutils.core import setup |
|
41 |
||
42 |
# import required features |
|
43 |
from __pkginfo__ import distname, version, license, short_desc, long_desc, \ |
|
44 |
web, author, author_email |
|
232
f1f26070117d
cleanup skel packaging
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
139
diff
changeset
|
45 |
# import optional features |
0 | 46 |
try: |
47 |
from __pkginfo__ import data_files |
|
48 |
except ImportError: |
|
49 |
data_files = None |
|
232
f1f26070117d
cleanup skel packaging
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
139
diff
changeset
|
50 |
try: |
f1f26070117d
cleanup skel packaging
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
139
diff
changeset
|
51 |
from __pkginfo__ import include_dirs |
f1f26070117d
cleanup skel packaging
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
139
diff
changeset
|
52 |
except ImportError: |
f1f26070117d
cleanup skel packaging
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
139
diff
changeset
|
53 |
include_dirs = [] |
0 | 54 |
|
55 |
def install(**kwargs): |
|
56 |
"""setup entry point""" |
|
232
f1f26070117d
cleanup skel packaging
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
139
diff
changeset
|
57 |
#kwargs['distname'] = modname |
0 | 58 |
return setup(name=distname, |
59 |
version=version, |
|
139 | 60 |
license=license, |
0 | 61 |
description=short_desc, |
62 |
long_description=long_desc, |
|
63 |
author=author, |
|
64 |
author_email=author_email, |
|
65 |
url=web, |
|
66 |
data_files=data_files, |
|
67 |
**kwargs) |
|
1802
d628defebc17
delete-trailing-whitespace + some copyright update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
232
diff
changeset
|
68 |
|
0 | 69 |
if __name__ == '__main__' : |
70 |
install() |