FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Move the logo to data · pythonthings/bpython@a8701a5 · GitHub

Commit a8701a5

Browse files
committed
Move the logo to data
We do not use it in bpython directly anymore. Let's use it for the .desktop file now. Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 8ad41e8 commit a8701a5

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎data/bpython.desktop‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[Desktop Entry]
2-
Icon=/usr/share/pixmaps/python.xpm
2+
Icon=bpython
33
Name=bpython
44
Comment=A fancy interface to the python interpreter!
55
Exec=/usr/bin/bpython
File renamed without changes.

‎setup.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ def initialize_options(self):
157157
# desktop shortcut
158158
(os.path.join('share', 'applications'), ['data/bpython.desktop']),
159159
# AppData
160-
(os.path.join('share', 'appdata'), ['data/bpython.appdata.xml'])
160+
(os.path.join('share', 'appdata'), ['data/bpython.appdata.xml']),
161+
# icon
162+
(os.path.join('share', 'pixmaps'), ['data/bpython.png'])
161163
]
162164
data_files.extend(man_pages)
163165

@@ -224,7 +226,6 @@ def initialize_options(self):
224226
packages = packages,
225227
data_files = data_files,
226228
package_data = {
227-
'bpython': ['logo.png'],
228229
'bpython.translations': mo_files,
229230
'bpython.test': ['test.config', 'test.theme']
230231
},

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL