Skip to content

Commit

Permalink
PICARD-1602: Minimize files included in sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
phw committed Sep 18, 2019
1 parent eac6ee1 commit 0dfcedc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 46 deletions.
48 changes: 3 additions & 45 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,55 +1,13 @@
graft po
prune test

recursive-include scripts *.in

graft ui
recursive-include resources *.py

recursive-include test *.py
recursive-include test/data *.aac
recursive-include test/data *.aiff
recursive-include test/data *.ape
recursive-include test/data *.asf
recursive-include test/data *.dat
recursive-include test/data *.dsf
recursive-include test/data *.flac
recursive-include test/data *.gif
recursive-include test/data *.ini
recursive-include test/data *.jpg
recursive-include test/data *.json
recursive-include test/data *.m4a
recursive-include test/data *.m4v
recursive-include test/data *.mid
recursive-include test/data *.mp3
recursive-include test/data *.mpc
recursive-include test/data *.ofr
recursive-include test/data *.ofs
recursive-include test/data *.oga
recursive-include test/data *.ogg
recursive-include test/data *.ogv
recursive-include test/data *.opus
recursive-include test/data *.png
recursive-include test/data *.spx
recursive-include test/data *.tak
recursive-include test/data *.tta
recursive-include test/data *.wav
recursive-include test/data *.wma
recursive-include test/data *.wmv
recursive-include test/data *.wv
recursive-include test/data/testplugins *.zip
recursive-exclude scripts picard

include tagger.py
include *.in

include *.md
include *.txt

recursive-include resources org.musicbrainz.Picard.svg
recursive-include resources/images org.musicbrainz.Picard.png

recursive-include installer *.in
recursive-include installer *.ini
recursive-include installer/images *.bmp
recursive-include installer/images *.ico
recursive-include installer/images *.svg
recursive-include installer/languages *.nsh
exclude org.musicbrainz.Picard.appdata.xml
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ def run(self):
args['name'] = 'MusicBrainz Picard'
file_version = PICARD_VERSION[0:3] + PICARD_VERSION[4:]
args['file_version'] = '.'.join([str(v) for v in file_version])
generate_file('installer/picard-setup.nsi.in', 'installer/picard-setup.nsi', args)
if os.path.isfile('installer/picard-setup.nsi.in'):
generate_file('installer/picard-setup.nsi.in', 'installer/picard-setup.nsi', args)
version_args = {
'filevers': str(file_version),
'prodvers': str(file_version),
Expand Down

0 comments on commit 0dfcedc

Please sign in to comment.