#!/usr/bin/env python """ Copyright (C) 2001 Andrei Kulakov Licence: GPL [see http://www.gnu.org/copyleft/gpl.html] """ import sys try: import distutils.core except ImportError: print """ Error: distutils module not found. You're probably using an old python - try running python2 setup.py or python2.1 setup.py instead. If that don't help, you can either upgrade to newer python or install distutils; you can get them at: http://www.python.org/sigs/distutils-sig/download.html""" sys.exit() distutils.core.setup( name = "pybook", version = "0.8c", url = "http://silmarill.org/pybook", author = "Andrei Kulakov", author_email = "ak@silmarill.org", description = "PyBook is a console Project Gutenberg e-book reader.", license = "GPL", scripts = ["pybook.py"], packages = ["pybookm"], data_files = [("share/pybook", ["booklist", "vimrc", "license"])], )