Skip to content

Commit

Permalink
re: #1120 / PEP527: no longer provide .exe files for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Sep 8, 2017
1 parent e950259 commit de5f2f8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ XXXX-XX-XX

- 1124_: documentation moved to http://psutil.readthedocs.io

**Compatibility notes**

- 1120_: .exe files for Windows are no longer uploaded on PYPI as per PEP-527;
only wheels are provided.

*2017-09-01*

5.3.0
Expand Down
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ test_script:

after_test:
- "%WITH_COMPILER% %PYTHON%/python setup.py bdist_wheel"
- "%WITH_COMPILER% %PYTHON%/python setup.py bdist_wininst"

artifacts:
- path: dist\*
Expand Down
4 changes: 2 additions & 2 deletions scripts/internal/download_exes.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ def main(options):
completed += 1
print("downloaded %-45s %s" % (
local_fname, bytes2human(os.path.getsize(local_fname))))
# 2 exes (32 and 64 bit) and 2 wheels (32 and 64 bit) for each ver.
expected = len(PY_VERSIONS) * 4
# 2 wheels (32 and 64 bit) per supported python version
expected = len(PY_VERSIONS) * 2
if expected != completed:
return exit("expected %s files, got %s" % (expected, completed))
if exc:
Expand Down
7 changes: 0 additions & 7 deletions scripts/internal/winmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,6 @@ def build():
sh('%s -c "import psutil"' % PYTHON)


@cmd
def build_exe():
"""Create exe file."""
build()
sh("%s setup.py bdist_wininst" % PYTHON)


@cmd
def build_wheel():
"""Create wheel file."""
Expand Down

0 comments on commit de5f2f8

Please sign in to comment.