mirror of https://github.com/scrapy/scrapy.git
debian package: fix dh_auto_build confusing with Makefile, added scrapy-ws.py to deployed scripts
This commit is contained in:
parent
03912a6504
commit
ea8b5ddfd5
1
Makefile
1
Makefile
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue