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
9ecb7579
Unverified
Commit
9ecb7579
authored
Mar 29, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup
parent
c63da256
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
poetry/masonry/publishing/uploader.py
+1
-4
poetry/masonry/utils/tags.py
+7
-1
No files found.
poetry/masonry/publishing/uploader.py
View file @
9ecb7579
...
@@ -24,8 +24,6 @@ wheel_file_re = re.compile(
...
@@ -24,8 +24,6 @@ wheel_file_re = re.compile(
re
.
VERBOSE
re
.
VERBOSE
)
)
KEYWORDS_TO_NOT_FLATTEN
=
{
'gpg_signature'
,
'content'
}
_has_blake2
=
hasattr
(
hashlib
,
'blake2b'
)
_has_blake2
=
hasattr
(
hashlib
,
'blake2b'
)
...
@@ -284,8 +282,7 @@ class Uploader:
...
@@ -284,8 +282,7 @@ class Uploader:
def
_prepare_data
(
self
,
data
):
def
_prepare_data
(
self
,
data
):
data_to_send
=
[]
data_to_send
=
[]
for
key
,
value
in
data
.
items
():
for
key
,
value
in
data
.
items
():
if
(
key
in
KEYWORDS_TO_NOT_FLATTEN
or
if
not
isinstance
(
value
,
(
list
,
tuple
)):
not
isinstance
(
value
,
(
list
,
tuple
))):
data_to_send
.
append
((
key
,
value
))
data_to_send
.
append
((
key
,
value
))
else
:
else
:
for
item
in
value
:
for
item
in
value
:
...
...
poetry/masonry/utils/tags.py
View file @
9ecb7579
"""Generate and work with PEP 425 Compatibility Tags."""
"""
Generate and work with PEP 425 Compatibility Tags.
Base implementation taken from
https://github.com/pypa/wheel/blob/master/wheel/pep425tags.py
and adapted to work with poetry's venv util.
"""
import
distutils.util
import
distutils.util
import
sys
import
sys
...
...
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