mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-12-29 11:17:10 +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()
|