Commit 49fc619d authored by idle sign's avatar idle sign

`dependency_links` as section not supported.

parent a5567b76
...@@ -333,14 +333,6 @@ class ConfigOptionsHandler(ConfigHandler): ...@@ -333,14 +333,6 @@ class ConfigOptionsHandler(ConfigHandler):
from setuptools import find_packages from setuptools import find_packages
return find_packages() return find_packages()
def parse_section_dependency_links(self, section_options):
"""Parses `dependency_links` configuration file section.
:param dict section_options:
"""
parsed = self._parse_section_to_dict(section_options)
self['dependency_links'] = list(parsed.values())
def parse_section_entry_points(self, section_options): def parse_section_entry_points(self, section_options):
"""Parses `entry_points` configuration file section. """Parses `entry_points` configuration file section.
......
...@@ -417,19 +417,3 @@ class TestOptions: ...@@ -417,19 +417,3 @@ class TestOptions:
with get_dist(tmpdir) as dist: with get_dist(tmpdir) as dist:
assert dist.entry_points == expected assert dist.entry_points == expected
def test_dependency_links(self, tmpdir):
expected = set([
'http://some.com/here/1',
'http://some.com/there/2'
])
# From section.
fake_env(
tmpdir,
'[options:dependency_links]\n'
'1 = http://some.com/here/1\n'
'2 = http://some.com/there/2\n'
)
with get_dist(tmpdir) as dist:
assert set(dist.dependency_links) == expected
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment