-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #342 from takluyver/no-py2
Re-drop Python 2 support in flit_core
- Loading branch information
Showing
16 changed files
with
115 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ python: | |
- "3.6" | ||
- "3.5" | ||
- "3.4" # 3.4 & 2.7 only test flit_core - see tox.ini | ||
- "2.7" | ||
|
||
jobs: | ||
include: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,12 @@ | ||
import logging | ||
from pathlib import Path | ||
|
||
import flit_core.wheel as core_wheel | ||
|
||
log = logging.getLogger(__name__) | ||
|
||
def make_wheel_in(ini_path, wheel_directory): | ||
info = core_wheel.make_wheel_in(str(ini_path), str(wheel_directory)) | ||
info.file = Path(info.file) | ||
return info | ||
|
||
return core_wheel.make_wheel_in(ini_path, wheel_directory) | ||
|
||
class WheelBuilder(core_wheel.WheelBuilder): | ||
@classmethod | ||
def from_ini_path(cls, ini_path, target_fp): | ||
return super().from_ini_path(str(ini_path), target_fp) | ||
pass | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.