2009-09-17 11:46:47 -03:00
|
|
|
#!/bin/sh
|
2009-09-28 23:07:00 -03:00
|
|
|
# Script to build a Scrapy release. To be run from root dir in Scrapy
|
2009-09-17 11:46:47 -03:00
|
|
|
# distribution.
|
|
|
|
|
|
|
|
# clean repo
|
|
|
|
hg purge --all
|
|
|
|
|
|
|
|
# build packages
|
2009-09-21 13:07:52 -03:00
|
|
|
#version=$(python -c "import scrapy; print scrapy.__version__")
|
|
|
|
#python setup.py sdist
|
2009-09-17 15:28:36 -03:00
|
|
|
# FIXME: bdist_wininst doesn't work on Unix (it doesn't include the data_files)
|
2009-09-28 23:07:00 -03:00
|
|
|
# To build the win32 release you need to use Windows for now.
|
2009-09-17 15:28:36 -03:00
|
|
|
#python setup.py bdist_wininst -t "Scrapy $version" -p "win32"
|
2009-09-17 11:46:47 -03:00
|
|
|
|