X Tutup
Skip to content

Commit f05521c

Browse files
committed
Add AppData file
Thanks to Richard Hughes and Ryan Lerch for the initial file and forwarding it. We use the description from our homepage instead and also our screenshots. Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent abd5342 commit f05521c

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ include CHANGELOG
44
include LICENSE
55
include data/bpython
66
include data/bpython.desktop
7+
include data/bpython.appdata.xml
78
include doc/sphinx/source/conf.py
89
include doc/sphinx/source/*.rst
910
include doc/sphinx/source/logo.png

data/bpython.appdata.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- Copyright 2014 bpython authors -->
3+
4+
<application>
5+
<id type="desktop">bpython.desktop</id>
6+
<metadata_license>CC0-1.0</metadata_license>
7+
<project_license>MIT</project_license>
8+
<name>bpython interpreter</name>
9+
<summary>Fancy interface for the Python interpreter</summary>
10+
<description>
11+
<p>
12+
bpython is a fancy interface to the Python interpreter. It has the
13+
following features:
14+
<ul>
15+
<li>In-line syntac highlighting.</li>
16+
<li>Readline-like autocomplete with suggesstion displayed as you type.</li>
17+
<li>Expected parameter list for any Python function.</li>
18+
<li>"Rewind" function to pop the last line of code from memory and re-evaluate.</li>
19+
<li>Send the code you've entered off to a pastebin.</li>
20+
<li>Save the code you've entered to a file.</li>
21+
<li>Auto-indentation.</li>
22+
</ul>
23+
</p>
24+
</description>
25+
<url type="homepage">http://www.bpython-interpreter.org/</url>
26+
<screenshots>
27+
<screenshot type="default">http://bpython-interpreter.org/images/8.png</screenshot>
28+
<screenshot>http://bpython-interpreter.org/images/1.png</screenshot>
29+
<screenshot>http://bpython-interpreter.org/images/2.png</screenshot>
30+
<screenshot>http://bpython-interpreter.org/images/3.png</screenshot>
31+
<screenshot>http://bpython-interpreter.org/images/4.png</screenshot>
32+
<screenshot>http://bpython-interpreter.org/images/5.png</screenshot>
33+
<screenshot>http://bpython-interpreter.org/images/6.png</screenshot>
34+
<screenshot>http://bpython-interpreter.org/images/7.png</screenshot>
35+
</screenshots>
36+
<updatecontact>bpython@googlegroups.com</updatecontact>
37+
</application>

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ def initialize_options(self):
129129

130130
data_files = [
131131
# desktop shortcut
132-
(os.path.join('share', 'applications'), ['data/bpython.desktop'])
132+
(os.path.join('share', 'applications'), ['data/bpython.desktop']),
133+
# AppData
134+
(os.path.join('share', 'appdata'), ['data/bpython.appdata.xml'])
133135
]
134136
data_files.extend(man_pages)
135137

0 commit comments

Comments
 (0)
X Tutup