From: Zooko O'Whielacronx Date: Wed, 24 Sep 2008 00:04:02 +0000 (-0700) Subject: setup: stop catching EnvironmentError when attempting to copy ./_auto_deps.py to... X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/frontends/FTP-and-SFTP.rst?a=commitdiff_plain;h=69bc4624c390a15677b159055acb811e5c57d5a0;p=tahoe-lafs%2Ftahoe-lafs.git 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. --- diff --git a/setup.py b/setup.py index 285ab79c..b2008975 100644 --- a/setup.py +++ b/setup.py @@ -125,12 +125,7 @@ from distutils.core import Command # Make the dependency-version-requirement, which is used by the Makefile at # build-time, also available to the app at runtime: import shutil -try: - 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 +shutil.copyfile("_auto_deps.py", os.path.join("src", "allmydata", "_auto_deps.py")) trove_classifiers=[ "Development Status :: 5 - Production/Stable",