root / pykota / trunk / setup.py @ 814

Revision 695, 1.3 kB (checked in by jalet, 22 years ago)

Initial import into CVS

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1#! /usr/bin/env python
2#
3# PyKota
4#
5# PyKota : Print Quotas for CUPS
6#
7# (c) 2003 Jerome Alet <alet@librelogiciel.com>
8# You're welcome to redistribute this software under the
9# terms of the GNU General Public Licence version 2.0
10# or, at your option, any higher version.
11#
12# You can read the complete GNU GPL in the file COPYING
13# which should come along with this software, or visit
14# the Free Software Foundation's WEB site http://www.fsf.org
15#
16# $Id$
17#
18# $Log$
19# Revision 1.1  2003/02/05 21:28:17  jalet
20# Initial import into CVS
21#
22#
23#
24
25import sys
26import glob
27import os
28from distutils.core import setup
29
30sys.path.insert(0, "pykota")
31from pykota.version import __version__, __doc__
32
33data_files = []
34mofiles = glob.glob(os.sep.join(["po", "*", "*.mo"]))
35for mofile in mofiles :
36    lang = mofile.split(os.sep)[1]
37    directory = os.sep.join(["share", "locale", lang, "LC_MESSAGES"])
38    data_files.append((directory, [ mofile ]))
39
40setup(name = "pykota", version = __version__,
41      license = "GNU GPL",
42      description = __doc__,
43      author = "Jerome Alet",
44      author_email = "alet@librelogiciel.com",
45      url = "http://www.librelogiciel.com/software/",
46      packages = [ "pykota", "pykota.storages", "pykota.requesters", "pykota.loggers" ],
47      scripts = [ "bin/pykota", "bin/edpykota", "bin/repykota", "bin/warnpykota" ],
48      data_files = data_files)
Note: See TracBrowser for help on using the browser.