Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Jun 18, 2024
1 parent 5b30ef4 commit 3d5522a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
4 changes: 2 additions & 2 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
*Bug tracker at https://github.com/giampaolo/psutil/issues*

6.0.0 (IN DEVELOPMENT)
======================
6.0.0 2024-06-18
================

**Enhancements**

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ pre-release: ## Check if we're ready to produce a new release.
release: ## Upload a new release.
${MAKE} check-sdist
${MAKE} check-wheels
$(PYTHON) -m twine upload dist/*.tar.gz
$(PYTHON) -m twine upload dist/*.whl
$(PYTHON) -m twine upload --verbose dist/*.tar.gz
$(PYTHON) -m twine upload --verbose dist/*.whl
${MAKE} git-tag-release

generate-manifest: ## Generates MANIFEST.in file.
Expand Down
4 changes: 4 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2672,6 +2672,10 @@ PyPy3.
Timeline
========

- 2024-06-18:
`6.0.0 <https://pypi.org/project/psutil/6.0.0/#files>`__ -
`what's new <https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#600>`__ -
`diff <https://github.com/giampaolo/psutil/compare/release-5.9.8...release-6.0.0#files_bucket>`__
- 2024-01-19:
`5.9.8 <https://pypi.org/project/psutil/5.9.8/#files>`__ -
`what's new <https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#598>`__ -
Expand Down
8 changes: 5 additions & 3 deletions scripts/internal/print_dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,13 @@ def platform(self):

def arch(self):
if self.name.endswith(('x86_64.whl', 'amd64.whl')):
return '64'
return '64-bit'
if self.name.endswith(("i686.whl", "win32.whl")):
return '32'
return '32-bit'
if self.name.endswith("arm64.whl"):
return 'arm64'
if self.name.endswith("aarch64.whl"):
return 'aarch64'
return '?'

def pyver(self):
Expand Down Expand Up @@ -109,7 +111,7 @@ def main():

tot_files = 0
tot_size = 0
templ = "%-120s %7s %7s %7s"
templ = "%-120s %7s %8s %7s"
for platf, pkgs in groups.items():
ppn = "%s (%s)" % (platf, len(pkgs))
s = templ % (ppn, "size", "arch", "pyver")
Expand Down

0 comments on commit 3d5522a

Please sign in to comment.