Move __pkginfo__.py at project's root

Related to #127412.

authorDenis Laxalde <denis.laxalde@logilab.fr>
changesetf135dd39ec15
branchdefault
phasepublic
hiddenno
parent revision#b97fbb21a227 Use a regex to find the number of nodes from element name
child revision#d15d8dc0459d use logilab.org as a base web site, #79a7258f0b9a [debian] stricter dependencies
files modified by this revision
MANIFEST.in
__pkginfo__.py
libmed/__pkginfo__.py
# HG changeset patch
# User Denis Laxalde <denis.laxalde@logilab.fr>
# Date 1379949909 -7200
# Mon Sep 23 17:25:09 2013 +0200
# Node ID f135dd39ec15120fe49dccc986c29b79cf1f1d52
# Parent b97fbb21a2273a27365323d2908e241d272063fa
Move __pkginfo__.py at project's root

Related to #127412.

diff --git a/MANIFEST.in b/MANIFEST.in
@@ -1,5 +1,6 @@
1  recursive-include libmed *.py *.pyx *.pxd
2  include tests/*.py
3  recursive-include tests/data *
4  include doc/*
5  include COPYING*
6 +include __pkginfo__.py
diff --git a/__pkginfo__.py b/__pkginfo__.py
@@ -1,1 +1,70 @@
7 -libmed/__pkginfo__.py
8 \ No newline at end of file
9 +# Copyright 2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
10 +# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
11 +#
12 +# This file is part of python-libmed.
13 +#
14 +# python-libmed is free software: you can redistribute it and/or modify it under
15 +# the terms of the GNU Lesser General Public License as published by the Free
16 +# Software Foundation, either version 3 of the License, or (at your option)
17 +# any later version.
18 +#
19 +# python-libmed is distributed in the hope that it will be useful, but WITHOUT
20 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
21 +# FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
22 +# details.
23 +#
24 +# You should have received a copy of the GNU Lesser General Public License along
25 +# with python-libmed.  If not, see <http://www.gnu.org/licenses/>.
26 +
27 +"""python-libmed packaging information"""
28 +
29 +from distutils.extension import Extension
30 +
31 +modname = distname = "python-libmed"
32 +
33 +numversion = (0, 1, 0)
34 +version = '.'.join([str(num) for num in numversion])
35 +
36 +license = 'LGPL'
37 +
38 +description="Manipulation of MED files."
39 +
40 +web = "http://www.python-science.org/project/python-libmed"
41 +mailinglist = "mailto://python-projects@lists.logilab.org"
42 +
43 +author="Logilab S.A. (Paris, France)"
44 +author_email="contact@logilab.fr"
45 +
46 +classifiers=[
47 +  "Development Status :: 3 - Alpha",
48 +  "Intended Audience :: Developers",
49 +  "Intended Audience :: Science/Research",
50 +  "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
51 +  "Programming Language :: Python",
52 +  "Programming Language :: Cython",
53 +  "Topic :: Scientific/Engineering",
54 +  "Topic :: Scientific/Engineering :: Physics",
55 +  "Topic :: Software Development :: Libraries :: Python Modules"],
56 +
57 +debian_maintainer = "Denis Laxalde"
58 +debian_maintainer_email = "denis.laxalde@logilab.fr"
59 +
60 +packages     = ['libmed']
61 +package_data = {'libmed': ['doc/*']}
62 +
63 +ext_modules=[
64 +    Extension("libmed._file", ["libmed/_file.pyx"],
65 +              libraries=["medC"]),
66 +    Extension("libmed._mesh", ["libmed/_mesh.pyx"],
67 +              libraries=["medC"]),
68 +    Extension("libmed._field", ["libmed/_field.pyx"],
69 +              libraries=["medC"]),
70 +    Extension("libmed._parameter", ["libmed/_parameter.pyx"],
71 +              libraries=["medC"]),
72 +    Extension("libmed._profile", ["libmed/_profile.pyx"],
73 +              libraries=["medC"]),
74 +    Extension("libmed._medtypes", ["libmed/_medtypes.pyx"],
75 +              libraries=["medC"]),
76 +    Extension("libmed._utils", ["libmed/_utils.pyx"],
77 +              libraries=["medC"])
78 +]
diff --git a/libmed/__pkginfo__.py b/libmed/__pkginfo__.py
@@ -1,70 +0,0 @@
79 -# Copyright 2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
80 -# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
81 -#
82 -# This file is part of python-libmed.
83 -#
84 -# python-libmed is free software: you can redistribute it and/or modify it under
85 -# the terms of the GNU Lesser General Public License as published by the Free
86 -# Software Foundation, either version 3 of the License, or (at your option)
87 -# any later version.
88 -#
89 -# python-libmed is distributed in the hope that it will be useful, but WITHOUT
90 -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
91 -# FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
92 -# details.
93 -#
94 -# You should have received a copy of the GNU Lesser General Public License along
95 -# with python-libmed.  If not, see <http://www.gnu.org/licenses/>.
96 -
97 -"""python-libmed packaging information"""
98 -
99 -from distutils.extension import Extension
100 -
101 -modname = distname = "python-libmed"
102 -
103 -numversion = (0, 1, 0)
104 -version = '.'.join([str(num) for num in numversion])
105 -
106 -license = 'LGPL'
107 -
108 -description="Manipulation of MED files."
109 -
110 -web = "http://www.python-science.org/project/python-libmed"
111 -mailinglist = "mailto://python-projects@lists.logilab.org"
112 -
113 -author="Logilab S.A. (Paris, France)"
114 -author_email="contact@logilab.fr"
115 -
116 -classifiers=[
117 -  "Development Status :: 3 - Alpha",
118 -  "Intended Audience :: Developers",
119 -  "Intended Audience :: Science/Research",
120 -  "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
121 -  "Programming Language :: Python",
122 -  "Programming Language :: Cython",
123 -  "Topic :: Scientific/Engineering",
124 -  "Topic :: Scientific/Engineering :: Physics",
125 -  "Topic :: Software Development :: Libraries :: Python Modules"],
126 -
127 -debian_maintainer = "Denis Laxalde"
128 -debian_maintainer_email = "denis.laxalde@logilab.fr"
129 -
130 -packages     = ['libmed']
131 -package_data = {'libmed': ['doc/*']}
132 -
133 -ext_modules=[
134 -    Extension("libmed._file", ["libmed/_file.pyx"],
135 -              libraries=["medC"]),
136 -    Extension("libmed._mesh", ["libmed/_mesh.pyx"],
137 -              libraries=["medC"]),
138 -    Extension("libmed._field", ["libmed/_field.pyx"],
139 -              libraries=["medC"]),
140 -    Extension("libmed._parameter", ["libmed/_parameter.pyx"],
141 -              libraries=["medC"]),
142 -    Extension("libmed._profile", ["libmed/_profile.pyx"],
143 -              libraries=["medC"]),
144 -    Extension("libmed._medtypes", ["libmed/_medtypes.pyx"],
145 -              libraries=["medC"]),
146 -    Extension("libmed._utils", ["libmed/_utils.pyx"],
147 -              libraries=["medC"])
148 -]