Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
5fd64978
Unverified
Commit
5fd64978
authored
Jun 25, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Normalize directory/file dependency paths
parent
60ab634c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
poetry/packages/directory_dependency.py
+1
-1
poetry/puzzle/provider.py
+1
-1
No files found.
poetry/packages/directory_dependency.py
View file @
5fd64978
...
...
@@ -121,7 +121,7 @@ class DirectoryDependency(Dependency):
self
.
_package
=
package
self
.
_package
.
source_type
=
"directory"
self
.
_package
.
source_url
=
s
tr
(
self
.
_path
)
self
.
_package
.
source_url
=
s
elf
.
_path
.
as_posix
(
)
super
(
DirectoryDependency
,
self
)
.
__init__
(
self
.
_package
.
name
,
...
...
poetry/puzzle/provider.py
View file @
5fd64978
...
...
@@ -230,7 +230,7 @@ class Provider:
def
search_for_file
(
self
,
dependency
):
# type: (FileDependency) -> List[Package]
package
=
Package
(
dependency
.
name
,
dependency
.
pretty_constraint
)
package
.
source_type
=
"file"
package
.
source_url
=
str
(
dependency
.
path
)
package
.
source_url
=
dependency
.
path
.
as_posix
(
)
package
.
description
=
dependency
.
metadata
.
summary
for
req
in
dependency
.
metadata
.
requires_dist
:
...
...
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