-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for cutting releases without DPL and using pep517.
- Loading branch information
Showing
4 changed files
with
43 additions
and
15 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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
""" | ||
In order to support installation of pep517 from source, | ||
pip from master must be installed. | ||
""" | ||
|
||
import subprocess | ||
import sys | ||
|
||
|
||
def main(): | ||
cmd = [ | ||
sys.executable, | ||
'-m', 'pip', 'install', | ||
'git+https://github.com/pypa/pip', | ||
] | ||
subprocess.run(cmd) | ||
cmd[-1:] = sys.argv[1:] | ||
subprocess.run(cmd) | ||
|
||
|
||
__name__ == '__main__' and main() |
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,6 +1,3 @@ | ||
[aliases] | ||
dists = clean --all sdist bdist_wheel | ||
|
||
[bdist_wheel] | ||
universal = 1 | ||
|
||
|
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