summaryrefslogtreecommitdiff
path: root/test/data/__pkginfo__.py
diff options
context:
space:
mode:
authorRémi Cardona <remi.cardona@logilab.fr>2015-06-24 15:29:21 +0200
committerRémi Cardona <remi.cardona@logilab.fr>2015-06-24 15:29:21 +0200
commit0571fb054fe770b7deefc7ccb8880533cc8e1e53 (patch)
tree97ec37f5fed75fd786031e23b1b835985cfb1890 /test/data/__pkginfo__.py
parent84ba0c13c480f1e0fb3853caa6bc8ee48dd13178 (diff)
downloadlogilab-common-0571fb054fe770b7deefc7ccb8880533cc8e1e53.tar.gz
[test] Rework generate_manpage test to use a private __pkginfo__
Stop using lgc's own __pkginfo__ (which we may stop shipping/installing at some point).
Diffstat (limited to 'test/data/__pkginfo__.py')
-rw-r--r--test/data/__pkginfo__.py57
1 files changed, 57 insertions, 0 deletions
diff --git a/test/data/__pkginfo__.py b/test/data/__pkginfo__.py
new file mode 100644
index 0000000..7ebce74
--- /dev/null
+++ b/test/data/__pkginfo__.py
@@ -0,0 +1,57 @@
+# copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
+#
+# This file is part of logilab-common.
+#
+# logilab-common is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation, either version 2.1 of the License, or (at your option) any
+# later version.
+#
+# logilab-common is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Lesser General Public License along
+# with logilab-common. If not, see <http://www.gnu.org/licenses/>.
+"""logilab.common packaging information"""
+__docformat__ = "restructuredtext en"
+import sys
+import os
+
+distname = 'logilab-common'
+modname = 'common'
+subpackage_of = 'logilab'
+subpackage_master = True
+
+numversion = (0, 63, 2)
+version = '.'.join([str(num) for num in numversion])
+
+license = 'LGPL' # 2.1 or later
+description = "collection of low-level Python packages and modules used by Logilab projects"
+web = "http://www.logilab.org/project/%s" % distname
+mailinglist = "mailto://python-projects@lists.logilab.org"
+author = "Logilab"
+author_email = "contact@logilab.fr"
+
+
+from os.path import join
+scripts = [join('bin', 'pytest')]
+include_dirs = [join('test', 'data')]
+
+install_requires = [
+ 'six >= 1.4.0',
+ ]
+tests_require = ['pytz']
+
+if sys.version_info < (2, 7):
+ install_requires.append('unittest2 >= 0.5.1')
+if os.name == 'nt':
+ install_requires.append('colorama')
+
+classifiers = ["Topic :: Utilities",
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 2",
+ "Programming Language :: Python :: 3",
+ ]