setup.cfg: remove --find-links

This is only useful when running "setup.py install" directly, and is not
consulted when following our recommended "pip install .".
Platform-specific directories of wheels (that we, Tahoe, host ourselves)
are available for some platforms: these are described in
docs/INSTALL.rst and must be provided as a pip argument, not a
setup.cfg/easy_install configuration:

  pip install --find-links=https://tahoe-lafs.org/deps/

This also removes our involvement with eggs (which, I believe, are
usually downloaded insecurely by easy_install).
This commit is contained in:
Brian Warner 2016-03-26 12:23:01 -07:00
parent 3dcb3c8ed5
commit 1fca198ee4

View File

@ -1,30 +1,3 @@
[easy_install]
# Tahoe-LAFS depends upon several libraries (foolscap, twisted, pycryptopp,
# zfec, and others). Left to its own devices, setuptools will look on PyPI for
# these and will download them at build time. The 'find_links=' entry in
# setup.cfg causes setuptools to look for these dependent tarballs in
# tahoe-deps/ and ../tahoe-deps/ before it resorts to downloading them from
# PyPI.
# https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-deps.tar.gz contains a
# bundle of these dependencies (as Python source distributions or "sdists").
# So it you want to avoid the build-time download (say, if you're on an
# airplane, or a desert island), just grab a copy and unpack it in your tahoe
# source tree.
# Alternatively, if you're building from a release/nightly tarball instead of
# a git tree, the 'sumo' tarball variant will include all of these
# dependencies in the tahoe-deps/ directory.
find_links=https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-sdists/
https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/
# Other sites that we might want to list:
# http://sourceforge.net/project/showfiles.php?group_id=78018&package_id=79063
# http://pypi.python.org/pypi/pywin32
# (See ticket #142.)
[aliases]
build = update_version build
sdist = update_version sdist