Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Add AppStream metainfo file #4123

Merged
merged 1 commit into from Feb 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/spyder.desktop
Expand Up @@ -11,4 +11,4 @@ Icon=spyder
Terminal=false
StartupNotify=true
MimeType=text/x-python;

X-AppStream-Ignore=True
32 changes: 32 additions & 0 deletions scripts/spyder3.appdata.xml
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<id>spyder3.desktop</id>
<name>Spyder</name>
<summary>Scientific Python Development Environment</summary>

<metadata_license>MIT</metadata_license>
<project_license>MIT</project_license>
<developer_name>Spyder Project Contributors</developer_name>

<description>
<p>
Spyder is a free open-source Python development environment providing MATLAB-like features in a simple and light-weighted software.
</p>
<p>
It contains a powerful interactive development environment for the Python language with advanced editing, interactive testing, debugging and introspection features
and a numerical computing environment thanks to the support of IPython (enhanced interactive Python interpreter) and popular Python libraries such as NumPy
(linear algebra), SciPy (signal and image processing) or matplotlib (interactive 2D/3D plotting).
</p>
<p>
Spyder may also be used as a library providing powerful console-related widgets for your PyQt-based applications – for example, it may be used to integrate
a debugging console directly in the layout of your graphical user interface.
</p>
</description>

<screenshots>
​ <screenshot type="default">
​ <image>https://raw.githubusercontent.com/spyder-ide/spyder/master/img_src/screenshot.png</image>
​ </screenshot>
​ </screenshots>

</component>
1 change: 0 additions & 1 deletion scripts/spyder3.desktop
Expand Up @@ -11,4 +11,3 @@ Icon=spyder3
Terminal=false
StartupNotify=true
MimeType=text/x-python;

3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -79,7 +79,8 @@ def get_data_files():
if sys.platform.startswith('linux'):
if PY3:
data_files = [('share/applications', ['scripts/spyder3.desktop']),
('share/pixmaps', ['img_src/spyder3.png'])]
('share/pixmaps', ['img_src/spyder3.png']),
('share/metainfo', ['scripts/spyder3.appdata.xml'])]
else:
data_files = [('share/applications', ['scripts/spyder.desktop']),
('share/pixmaps', ['img_src/spyder.png'])]
Expand Down