Skip to content
Snippets Groups Projects
Unverified Commit fa2317ed authored by yoavk's avatar yoavk Committed by GitHub
Browse files

Extract deps with features (#11203)

parent fd35c351
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ install_requires = ...@@ -16,7 +16,7 @@ install_requires =
docopt ~=0.4 docopt ~=0.4
fs ~=2.1 fs ~=2.1
requests ~=2.18 requests[security] ~=2.18
setup_requires = setup_requires =
six ~=1.4 six ~=1.4
......
...@@ -32,8 +32,8 @@ function parseDep( ...@@ -32,8 +32,8 @@ function parseDep(
section: string, section: string,
record: string record: string
): PackageDependency | null { ): PackageDependency | null {
const [, depName, currentValue] = const [, depName, , currentValue] =
/\s+([-_a-zA-Z0-9]*)\s*(.*)/.exec(line) || []; /\s+([-_a-zA-Z0-9]*)(\[.*\])?\s*(.*)/.exec(line) || [];
if ( if (
section && section &&
record && record &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment