Skip to content

Commit

Permalink
Update release scripts and manifests
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Ombredanne <[email protected]>
  • Loading branch information
pombredanne committed Feb 14, 2019
1 parent 1baf644 commit 856f730
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ graft thirdparty
graft samples

graft tests
graft plugins

prune src/scancode_toolkit.egg-info

Expand All @@ -27,8 +28,8 @@ include scancode
include scancode.bat
include extractcode
include extractcode.bat

include .travis.yml appveyor.yml

exclude SCANCODE_DEV_MODE

global-exclude *.py[co] __pycache__ *.*~
2 changes: 2 additions & 0 deletions etc/release/MANIFEST.in.release
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ graft thirdparty
graft samples

prune tests
prune plugins

include AUTHORS.rst
include CHANGELOG.rst
Expand All @@ -28,4 +29,5 @@ include extractcode.bat
include .travis.yml appveyor.yml

exclude SCANCODE_DEV_MODE

global-exclude *.py[co] __pycache__ *.*~
3 changes: 0 additions & 3 deletions etc/release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ rm -rf dist/ build/

# backup dev manifests
cp MANIFEST.in MANIFEST.in.dev
cp setup.cfg setup.cfg.dev

# install release manifests
cp etc/release/MANIFEST.in.release MANIFEST.in
cp etc/release/setup.cfg.release setup.cfg

./configure --clean
export CONFIGURE_QUIET=1
Expand All @@ -35,7 +33,6 @@ bin/python setup.py --quiet release --use-default-version

# restore dev manifests
mv MANIFEST.in.dev MANIFEST.in
mv setup.cfg.dev setup.cfg


function test_scan {
Expand Down
5 changes: 0 additions & 5 deletions etc/release/setup.cfg.release

This file was deleted.

0 comments on commit 856f730

Please sign in to comment.