File: setup.py

package info (click to toggle)
apt-xapian-index 0.41
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 356 kB
  • ctags: 477
  • sloc: python: 2,516; sh: 126; makefile: 34
file content (26 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (5)
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'],
     )