FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
bpython/setup.py at wizard · optionalg/bpython · GitHub
optionalg
/
bpython
Public
forked from
bpython/bpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
bpython
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
61 lines (53 loc) · 1.61 KB
Breadcrumbs
bpython
/
setup.py
Copy path
File metadata and controls
61 lines (53 loc) · 1.61 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import
glob
import
os
import
platform
import
re
import
sys
try
:
from
setuptools
import
setup
using_setuptools
=
True
except
ImportError
:
from
distutils
.
core
import
setup
using_setuptools
=
False
try
:
from
distutils
.
command
.
build_py
import
build_py_2to3
as
build_py
except
ImportError
:
from
distutils
.
command
.
build_py
import
build_py
from
bpython
import
__version__
if
platform
.
system
()
==
'FreeBSD'
:
man_dir
=
'man'
else
:
man_dir
=
'share/man'
setup
(
name
=
"bpython"
,
version
=
__version__
,
author
=
"Bob Farrell, Andreas Stuehrk et al."
,
author_email
=
"robertanthonyfarrell@gmail.com"
,
description
=
"Fancy Interface to the Python Interpreter"
,
license
=
"MIT/X"
,
url
=
"http://www.bpython-interpreter.org/"
,
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-config.5'
]),
(
'share/applications'
, [
'data/bpython.desktop'
])
],
package_data
=
{
'bpython'
: [
'logo.png'
]},
entry_points
=
{
'console_scripts'
: [
'bpython = bpython.cli:main'
,
'bpython-gtk = bpython.gtk_:main'
,
],
},
scripts
=
([]
if
using_setuptools
else
[
'data/bpython'
,
'data/bpython-gtk'
]),
cmdclass
=
dict
(
build_py
=
build_py
)
)
# vim: encoding=utf-8 sw=4 ts=4 sts=4 ai et sta
Back
|
FazBrowse Home
|
New Git URL