Files
pyreadline/setup.py
T
2007-04-11 14:29:25 +00:00

48 lines
1.7 KiB
Python

# -*- coding: utf-8 -*-
#*****************************************************************************
# Copyright (C) 2003-2006 Gary Bishop.
# Copyright (C) 2006 Jorgen Stenarson. <jorgen.stenarson@bostream.nu>
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#*****************************************************************************
import os
import glob
# BEFORE importing distutils, remove MANIFEST. distutils doesn't properly
# update it when the contents of directories change.
if os.path.exists('MANIFEST'): os.remove('MANIFEST')
#
from distutils.core import setup
execfile('pyreadline/release.py')
packages = ['pyreadline','pyreadline.clipboard','pyreadline.configuration',
'pyreadline.console','pyreadline.keysyms','pyreadline.lineeditor',
'pyreadline.modes','pyreadline.test',
]
setup(name=name,
version = version,
description = description,
long_description = long_description,
author = authors["Jorgen"][0],
author_email = authors["Jorgen"][1],
maintainer = authors["Jorgen"][0],
maintainer_email = authors["Jorgen"][1],
license = license,
classifiers = classifiers,
url = url,
# download_url = download_url,
platforms = platforms,
keywords = keywords,
py_modules = ['readline'],
packages = packages,
package_data = {'pyreadline':['configuration/*']},
data_files = [('share/doc/pyreadline', glob.glob("doc/*")),
]
)