Recognizes if input is ogg or not.
[xiph.git] / positron / setup.py
blobbced002985b2919f45c98103f6c7b446dadc63f9
1 #!/usr/bin/env python
2 # -*- Mode: python -*-
4 # setup.py - distutils setup script
6 # Copyright (C) 2003, Xiph.org Foundation
8 # This file is part of positron.
10 # This program is free software; you can redistribute it and/or modify it
11 # under the terms of a BSD-style license (see the COPYING file in the
12 # distribution).
14 # This program is distributed in the hope that it will be useful, but
15 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY
16 # or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
18 import os
19 from glob import glob
20 from os.path import isfile
22 from distutils.core import setup
23 from setupext import install_data_ext
25 docdirbase = 'share/doc/positron'
26 manpagebase = 'share/man/man1'
27 docfiles = filter(isfile, glob('doc/*.html')) + \
28 filter(isfile, glob('doc/*.png')) + ['README', 'COPYING']
29 manpages = ['doc/positron.1.gz']
30 examfiles = filter(isfile, glob('doc/examples/*'))
32 setup(name="positron",
33 version="1.1",
34 description="A synchronization manager for the Neuros Audio Computer",
35 long_description="positron is the synchronization manager for the Neuros Audio Computer.\nIt supports adding, removing, and syncing files to/from the Neuros\ndevice.",
36 license="BSD",
37 author="Stan Seibert",
38 author_email="volsung@xiph.org",
39 url="http://www.neurosaudio.com/",
40 packages=['positron', 'positron.db', 'positron.db.new'],
41 scripts=['scripts/positron'],
42 cmdclass = {'install_data': install_data_ext},
43 data_files = [('data', docdirbase, docfiles),
44 ('data', os.path.join(docdirbase, 'examples'), examfiles),
45 ('data', manpagebase, manpages)]