setup: stop catching EnvironmentError when attempting to copy ./_auto_deps.py to ./src/allmydata/_auto_deps.py

It is no longer the case that we can run okay without _auto_deps.py being in place in ./src/allmydata, so if that cp fails then the build should fail.
This commit is contained in:
Zooko O'Whielacronx 2008-09-23 17:04:02 -07:00
parent ff08bab0c4
commit 69bc4624c3

View File

@ -125,12 +125,7 @@ from distutils.core import Command
# Make the dependency-version-requirement, which is used by the Makefile at # Make the dependency-version-requirement, which is used by the Makefile at
# build-time, also available to the app at runtime: # build-time, also available to the app at runtime:
import shutil import shutil
try: shutil.copyfile("_auto_deps.py", os.path.join("src", "allmydata", "_auto_deps.py"))
shutil.copyfile("_auto_deps.py", os.path.join("src", "allmydata", "_auto_deps.py"))
except EnvironmentError:
# Nevermind then -- perhaps it is already in place and in any case we can do
# without it.
pass
trove_classifiers=[ trove_classifiers=[
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",