Support both setuptools and distutils.

pull/356/head
Jussi Pakkanen 9 years ago
parent 53688207ab
commit 2e42427d4a
  1. 2
      mesonbuild/coredata.py
  2. 6
      setup.py

@ -14,7 +14,7 @@
import pickle, os, uuid
version = '0.29.0-research'
version = '0.29.0.dev1'
build_types = ['plain', 'debug', 'debugoptimized', 'release']
layouts = ['mirror', 'flat']

@ -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',

Loading…
Cancel
Save