~ubuntu-branches/ubuntu/saucy/apt-xapian-index/saucy

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python

import sys
import os.path
from distutils.core import setup

for line in open(os.path.join(os.path.dirname(sys.argv[0]),'update-apt-xapian-index')):
    if line.startswith('VERSION='):
        version = eval(line.split('=')[-1])

setup(name='apt-xapian-index',
      version=version,
      description='Xapian index of Debian packages',
#      long_description=''
      author=['Enrico Zini'],
      author_email=['enrico@debian.org'],
      url='http://www.enricozini.org/sw/apt-xapian-index/',
      install_requires = [
          "debian", "apt", "xapian",
      ],
      license='GPL',
      platforms='any',
      packages=['axi'],
#     py_modules=[''],
      scripts=['update-apt-xapian-index', 'axi-cache'],
     )