From 69bc4624c390a15677b159055acb811e5c57d5a0 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Tue, 23 Sep 2008 17:04:02 -0700 Subject: [PATCH] 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. --- setup.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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", -- 2.45.2