Skip to content

Provide wheel package on PyPI #4

Open

Description

@edmorley

Hi!

Please could this package also by made available as a wheel on PyPI?
https://pypi.python.org/pypi/functools32

Wheels have the following advantages:

  • Faster installation time
  • Allows the wheel cache to work even when using the new pip hash-checking mode
  • Allows tools to statically inspect the package metadata without having to execute untrusted code.
  • ...and more - see: http://pythonwheels.com

This package only supports Python 2, so should be distributed as a "pure python wheel" rather than a "universal wheel":
https://packaging.python.org/tutorials/distributing-packages/#wheels

The Python packaging guide recommends using Twine to upload packages:
https://packaging.python.org/tutorials/distributing-packages/#uploading-your-project-to-pypi

The steps for building/uploading a new release are then:

$ pip install -U twine setuptools wheel
$ rm -rf dist/ build/
$ python setup.py sdist bdist_wheel
$ twine upload dist/*

The PyPI package listing will then display two entries for the new release, one with type "Source" and the other "Python Wheel".

Many thanks :-)

Note:
distutils doesn't support the bdist_wheel command, so the distutils usage in setup.py will also need switching to setuptools.

Activity

  1. edmorley commented on Jul 19, 2017

    @edmorley
    Author

    @njwhite good spot on the distutils usage, I didn't realise only setuptools supported it. I've updated the copy above for that and to also include more detailed release instructions (I'm going to be filing similar issues on other projects shortly - will look out for distutils there too).

  2. prometheanfire commented on Jul 13, 2018

    @prometheanfire

    and please make it another actual release, post releases suck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions