sprockets.mixins.mediatype/setup.py

11 lines
280 B
Python
Raw Normal View History

2015-08-07 21:11:08 +00:00
#!/usr/bin/env python
import pkg_resources
2015-06-08 20:28:30 +00:00
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')
2015-08-07 21:11:08 +00:00
setuptools.setup()