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 27 28 29 30 31 32 33 34 35 36 37
|
#!/usr/bin/env python
import os
import sys
from distutils.core import setup
from distutils.sysconfig import get_python_lib
# files to install
files = []
# man page
manpage = "episoder.1"
files.append((os.path.join(sys.prefix, "share", "man", "man1"), [manpage]))
# awk parser
awkfile = os.path.join("extras", "episoder_helper_epguides.awk")
files.append((os.path.join(sys.prefix, "share", "episoder"), [awkfile]))
if __name__ == '__main__':
LONG_DESCRIPTION = \
"""episoder is a tool to tell you about new episodes of your favourite TV shows."""
from pyepisoder.episoder import version
setup( name = 'episoder',
version = version,
license = 'GPLv2',
description = 'TV episode notifier',
author = 'Stefan Ott',
author_email = 'stefan@ott.net',
url = 'http://episoder.sf.net/',
packages = [ 'pyepisoder' ],
scripts = [ 'episoder' ],
long_description = LONG_DESCRIPTION,
data_files = files,
requires = [ 'beautifulsoup', 'pysqlite2', 'yaml', 'sqlalchemy' ]
)
|