Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
49fc619d
Commit
49fc619d
authored
Dec 04, 2016
by
idle sign
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
`dependency_links` as section not supported.
parent
a5567b76
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
24 deletions
+0
-24
setuptools/config.py
setuptools/config.py
+0
-8
setuptools/tests/test_config.py
setuptools/tests/test_config.py
+0
-16
No files found.
setuptools/config.py
View file @
49fc619d
...
...
@@ -333,14 +333,6 @@ class ConfigOptionsHandler(ConfigHandler):
from
setuptools
import
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
):
"""Parses `entry_points` configuration file section.
...
...
setuptools/tests/test_config.py
View file @
49fc619d
...
...
@@ -417,19 +417,3 @@ class TestOptions:
with
get_dist
(
tmpdir
)
as
dist
:
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment