mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 14:22:25 +00:00
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:
parent
ff08bab0c4
commit
69bc4624c3
7
setup.py
7
setup.py
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user