Skip to content
Myr

Merge pull request #2973 from sigmavirus24/no-distutils-fallback

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Stop falling back to distutils in setup.py

authored by Cory Benfield · committed by Cory Benfield · parents 6592dbc, 5f2fef5 · Browse files · 1 file+2 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−4 removed

  • other:+2 added−4 removed

1 file+2 added−4 removed

modified:setup.py+2 added-4 removed
4 unmodified lines
5import sys67from codecs import open89try:10 from setuptools import setup9from setuptools import setup11except ImportError:12 from distutils.core import setup101112if sys.argv[-1] == 'publish':13 os.system('python setup.py sdist upload')14 sys.exit()15
57 unmodified lines