sprockets.mixins.mediatype/setup.py
2021-09-16 09:49:42 -04:00

10 lines
280 B
Python
Executable file

#!/usr/bin/env python
import pkg_resources
import setuptools
dist = pkg_resources.get_distribution('setuptools')
setup_version = tuple(int(c) for c in dist.version.split('.')[:3])
if setup_version < (42, 0):
raise ImportError('Please upgrade setuptools')
setuptools.setup()