Skip to content

Commit

Permalink
update Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen L. <[email protected]>
  • Loading branch information
lrq3000 committed Nov 16, 2015
1 parent 654e698 commit a099b3f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ build_cython:
python setup.py build_ext --inplace

build:
python -c "import shutil; shutil.rmtree('build', True)"
python -c "import shutil; shutil.rmtree('dist', True)"
python -c "import shutil; shutil.rmtree('pyFileFixity.egg-info', True)"
python setup.py sdist --formats=gztar,zip bdist_wininst
python setup.py sdist bdist_wheel

Expand All @@ -54,5 +57,11 @@ pypimeta:
pypi:
twine upload dist/*

buildupload:
@make testsetup
@make build
@make pypimeta
@make pypi

none:
# used for unit testing

0 comments on commit a099b3f

Please sign in to comment.