Remove egg-info from new name. Update make dist to use setup.py now it seems to work.

This commit is contained in:
Paul Makepeace 2011-05-01 17:58:11 +00:00
parent 5702c02407
commit b6c689e5af
1 changed files with 2 additions and 7 deletions

View File

@ -1,9 +1,5 @@
# XXX have a Makefile written by someone that knows Makefiles... # XXX have a Makefile written by someone that knows Makefiles...
NAME = refine-client-py
# make sure VERSION matches what's in setup.py
VERSION = 0.1.0
all: test build install all: test build install
readme: readme:
@ -29,8 +25,7 @@ install:
clean: clean:
find . -name '*.pyc' | xargs rm -f find . -name '*.pyc' | xargs rm -f
# XXX is there some way of having setup.py clean up its junk? # XXX is there some way of having setup.py clean up its junk?
rm -rf README.html build dist refine_client_py.egg-info distribute-* rm -rf README.html build dist refine_client.egg-info distribute-*
# COPYFILE_DISABLE=true for annoying ._* files in OS X
dist: clean dist: clean
(cd ..; COPYFILE_DISABLE=true tar zcf $(NAME)-$(VERSION).tar.gz --exclude='.*' $(NAME)) python setup.py sdist