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 distutils.core from setup.py #2428

Closed
MaxGhenis opened this issue Jul 17, 2020 · 1 comment
Closed

Drop distutils.core from setup.py #2428

MaxGhenis opened this issue Jul 17, 2020 · 1 comment

Comments

@MaxGhenis
Copy link
Contributor

I think the below lines can be replaced with import setuptools now that taxcalc is Python 3+ only. Is this right?

try:
from setuptools import setup
except ImportError:
from distutils.core import setup

Based on Flask documentation:

If you have Python 2 (>=2.7.9) or Python 3 (>=3.4) installed from python.org, you will already have pip and setuptools on your system.

@jdebacker
Copy link
Member

Closed via PR #2592.

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

No branches or pull requests

2 participants