mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-11-25 03:00:24 +00:00
10 lines
280 B
Python
Executable file
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()
|