debian package: fix dh_auto_build confusing with Makefile, added scrapy-ws.py to deployed scripts

This commit is contained in:
Pablo Hoffman 2010-06-11 12:48:35 -03:00
parent 03912a6504
commit ea8b5ddfd5
3 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,7 @@ deb-prepare:
mkdir -p $(BUILDBASE)
hg archive -t tgz -X .hgtags $(BUILDTAR)
tar zxf $(BUILDTAR) -C $(BUILDBASE)
rm -f $(BUILDDIR)/Makefile # to avoid confusing dh_auto_build
cp -r debian $(BUILDDIR)
cd $(BUILDDIR); debchange -m -D unstable --force-distribution -v $(FULL_VERSION)-$(DEBREV) "Automatic build"

1
debian/rules vendored
View File

@ -9,3 +9,4 @@ export DH_ALWAYS_EXCLUDE=license.txt:_sources/:.buildinfo
override_dh_auto_install:
dh_auto_install
mv $(CURDIR)/debian/scrapy/usr/bin/scrapy-ctl.py $(CURDIR)/debian/scrapy/usr/bin/scrapy-ctl
mv $(CURDIR)/debian/scrapy/usr/bin/scrapy-ws.py $(CURDIR)/debian/scrapy/usr/bin/scrapy-ws

View File

@ -92,7 +92,7 @@ setup_args = {
'packages': packages,
'cmdclass': cmdclasses,
'data_files': data_files,
'scripts': ['bin/scrapy-ctl.py'],
'scripts': ['bin/scrapy-ctl.py', 'bin/scrapy-ws.py'],
'classifiers': [
'Programming Language :: Python',
'Programming Language :: Python :: 2.5',