forked from bpython/bpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (39 loc) · 1.08 KB
/
setup.py
File metadata and controls
44 lines (39 loc) · 1.08 KB
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
38
39
40
41
42
43
44
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import glob
import os
import platform
import re
import sys
from bpython import __version__
if platform.system() == 'FreeBSD':
man_dir = 'man'
else:
man_dir = 'share/man'
setup(
name="bpython",
version = __version__,
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'
],
packages = ["bpython"],
data_files = [
(os.path.join(man_dir, 'man1'), ['doc/bpython.1']),
(os.path.join(man_dir, 'man5'), ['doc/bpython.ini.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