Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop the use of the deprecated setuptools Features #19

Merged
merged 3 commits into from
Jan 20, 2020

Conversation

jamadden
Copy link
Member

@jamadden jamadden commented Jan 20, 2020

}

ext_modules = []
if not is_pypy and not is_jython:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe please add an and not is_pure check with the os.getenv('PURE_PYTHON') logic copied from zope.interface etc.? So people can ask to skip extension modules.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know what, you're right and I was wrong. Build-time checking of PURE_PYTHON will poison pip's wheel cache and we should fix zope.interface not to do that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was slightly surprised to discover that you get different wheel file names depending on whether PURE_PYTHON is set (zope.interface-4.7.2.dev0-py3-none-any.whl) or not (zope.interface-4.7.2.dev0-cp38-cp38-macosx_10_15_x86_64.whl). I suspect it still messes with the cache though.

setup.py Outdated Show resolved Hide resolved
setup.py Show resolved Hide resolved
@jamadden jamadden force-pushed the deprecated-setuptools-features branch from 985b5ee to 3c0f7dc Compare January 20, 2020 13:02
Don't install nose, upstream no longer supports. We were actually testing with zope.testrunner on travis and in tox.ini so use that.

make appveyor do the same.
Copy link
Member

@mgedmin mgedmin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

tox.ini Show resolved Hide resolved
@jamadden jamadden merged commit 086085b into master Jan 20, 2020
@jamadden jamadden deleted the deprecated-setuptools-features branch January 20, 2020 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants