Files
bpython-gist/setup.py
T
Charles Duffy d1024000b6 Setuptoolize bpython
- Use the setuptools entry_points mechanism
 - Move the primary bpython script itself into the bpython module with
   invocation via the setuptools entry_points mechanism.
 - Fix setup.py whitespace to be consistant (4-spaces only)
 - Ignore setuptools-generated build products
2008-08-26 12:59:22 -05:00

42 lines
1.1 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import sys, os
import glob
import platform
import re
if platform.system() == 'FreeBSD':
man_dir = 'man'
else:
man_dir = 'share/man'
setup(
name="bpython",
version = "0.6.4",
author = "Robert Anthony Farrell",
author_email = "robertanthonyfarrell@gmail.com",
description = "Fancy Interface to the Python Interpreter",
license = "MIT/X",
url = "http://www.noiseforfree.com/bpython/",
long_description = """bpython is a fancy interface to the Python interpreter for Unix-like operating systems.""",
install_requires = [
'pygments',
'pyparsing',
],
packages = ["bpython"],
data_files = [
(os.path.join(man_dir, 'man1'), ['doc/bpython.1']),
(os.path.join(man_dir, 'man5'), ['doc/bpythonrc.5']),
('share/applications', ['data/bpython.desktop'])
],
entry_points = {
'console_scripts': [
'bpython = bpython.cli:main'
],
}
)
# vim: encoding=utf-8 sw=4 ts=4 sts=4 ai et sta