mirror of
https://github.com/fergalmoran/picard.git
synced 2026-03-22 21:25:14 +00:00
Merge pull request #1288 from phw/minify-sdist
PICARD-1602: Minify sdist, removed tests and other files
This commit is contained in:
@@ -63,7 +63,6 @@ matrix:
|
||||
install: skip
|
||||
script:
|
||||
- pip3 install .
|
||||
- scripts/run-sdist-test.sh
|
||||
fast_finish: true
|
||||
|
||||
before_cache:
|
||||
|
||||
47
MANIFEST.in
47
MANIFEST.in
@@ -1,42 +1,8 @@
|
||||
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
|
||||
@@ -44,11 +10,4 @@ include *.in
|
||||
include *.md
|
||||
include *.txt
|
||||
|
||||
recursive-include resources/images *.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
|
||||
|
||||
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@@ -1,13 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Build the sdist archive, extract it and run the tests.
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf dist
|
||||
python3 setup.py sdist
|
||||
cd dist
|
||||
SDIST_ARCHIVE=$(echo picard-*.tar.gz)
|
||||
tar xvf $SDIST_ARCHIVE
|
||||
cd ${SDIST_ARCHIVE%.tar.gz}
|
||||
python3 setup.py test
|
||||
5
setup.py
5
setup.py
@@ -223,7 +223,8 @@ class picard_build(build):
|
||||
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),
|
||||
@@ -739,7 +740,7 @@ args['data_files'] = [
|
||||
for size in (16, 24, 32, 48, 128, 256)
|
||||
]
|
||||
|
||||
args['data_files'].append(('share/icons/hicolor/scalable/apps', ['resources/img-src/%s.svg' % PICARD_APP_ID]))
|
||||
args['data_files'].append(('share/icons/hicolor/scalable/apps', ['resources/%s.svg' % PICARD_APP_ID]))
|
||||
args['data_files'].append(('share/applications', [PICARD_DESKTOP_NAME]))
|
||||
|
||||
if sys.platform == 'linux':
|
||||
|
||||
Reference in New Issue
Block a user