diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-01-16 20:09:47 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-01-16 20:09:47 +0200 |
| commit | 2e42427d4ac17e3fce819c7d3095c354c4c3c555 (patch) | |
| tree | eb250a57bba4feaa43dbce6f8ade486312ffdc43 /setup.py | |
| parent | 53688207ab547260dceced9159bdbed1684b039a (diff) | |
| download | meson-2e42427d4ac17e3fce819c7d3095c354c4c3c555.tar.gz | |
Support both setuptools and distutils.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -14,7 +14,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -from distutils.core import setup +try: + from setuptools import setup +except ImportError: + from distutils.core import setup + from mesonbuild.coredata import version setup(name='meson', |
