aboutsummaryrefslogtreecommitdiff
path: root/setup.py
AgeCommit message (Collapse)AuthorFilesLines
2018-10-23Throw error to unsupported Python versions before importing modules from ↵Pieter Krul1-2/+1
mesonbuild
2018-08-12setup: Add tests for the installed files listNirbheek Chauhan1-34/+40
Ensure that the installed files list matches what we expect, to avoid surprises at release time.
2018-08-11setup: Require setuptools and entry_points:Nirbheek Chauhan1-40/+4
This gives us a consistent experience and a simpler setup across all operating systems. Setuptools is available everywhere these days.
2018-08-11Install meson.exe as the entrypoint on WindowsNirbheek Chauhan1-0/+8
Thanks to Rafael Rivera for the suggestion Fixes https://github.com/mesonbuild/meson/issues/1877
2018-07-19Remove long deprecated command scripts.Jussi Pakkanen1-10/+2
2018-05-17Support installation via polkitRyan Gonzalez1-1/+2
2018-03-07setup.py: set the python_requires fieldDylan Baker1-2/+4
This instructs tools like pip that meson requires python 3.5 or greater, so if one tries to install on an older version pip will fall back to an older version of meson. This won't fix 0.45 since it's already in the wild (unless someone wants to delete and re-upload the version on pypi). But it should fix future versions. Retain the hand rolled version check, but update it to enforce our actual requirements.
2017-06-27Add mesonbuild.compilers to packages in setup.pyAlistair Thomas1-1/+2
2017-05-12setup.py: dependencies is now a directoryNirbheek Chauhan1-0/+1
2017-04-29setup.py: install scripts from build_dirMike Gilbert1-4/+6
This ensures the installed scripts will have updated shebangs. Fixes: https://github.com/mesonbuild/meson/issues/1677
2017-01-29Bump version number for release.0.38.0Jussi Pakkanen1-1/+1
2017-01-23Added man page for mesontest.Jussi Pakkanen1-0/+1
2017-01-11style: [E402] module level import not at top of fileMike Sinkovsky1-5/+4
2016-12-19tree-wide: remove unused importsIgor Gnatenko1-3/+1
./setup.py:17:1: F401 'os' imported but unused import os ^ ./setup.py:37:1: F401 'stat.ST_MODE' imported but unused from stat import ST_MODE ^ ./run_tests.py:17:1: F401 'os' imported but unused import subprocess, sys, os ^ ./run_tests.py:18:1: F401 'shutil' imported but unused import shutil ^ ./run_unittests.py:23:1: F401 'mesonbuild.dependencies.Qt5Dependency' imported but unused from mesonbuild.dependencies import PkgConfigDependency, Qt5Dependency ^ ./mesonbuild/build.py:15:1: F401 '.coredata' imported but unused from . import coredata ^ ./mesonbuild/interpreter.py:32:1: F401 'subprocess' imported but unused import os, sys, subprocess, shutil, uuid, re ^ ./mesonbuild/interpreter.py:32:1: F401 're' imported but unused import os, sys, subprocess, shutil, uuid, re ^ ./mesonbuild/dependencies.py:23:1: F401 'subprocess' imported but unused import os, stat, glob, subprocess, shutil ^ ./mesonbuild/mesonlib.py:17:1: F401 'sys' imported but unused import platform, subprocess, operator, os, shutil, re, sys ^ ./mesonbuild/modules/qt5.py:15:1: F401 'subprocess' imported but unused import os, subprocess ^ ./mesonbuild/modules/pkgconfig.py:15:1: F401 '..coredata' imported but unused from .. import coredata, build ^ ./mesonbuild/scripts/scanbuild.py:15:1: F401 'sys' imported but unused import sys, os ^ ./mesonbuild/scripts/meson_exe.py:20:1: F401 'subprocess' imported but unused import subprocess ^ ./mesonbuild/scripts/meson_exe.py:22:1: F401 '..mesonlib.MesonException' imported but unused from ..mesonlib import MesonException, Popen_safe ^ ./mesonbuild/scripts/symbolextractor.py:23:1: F401 'subprocess' imported but unused import os, sys, subprocess ^ ./mesonbuild/scripts/symbolextractor.py:25:1: F401 '..mesonlib.MesonException' imported but unused from ..mesonlib import MesonException, Popen_safe ^ ./mesonbuild/scripts/meson_install.py:19:1: F401 '..mesonlib.MesonException' imported but unused from ..mesonlib import MesonException, Popen_safe ^ ./mesonbuild/scripts/yelphelper.py:15:1: F401 'sys' imported but unused import sys, os ^ ./mesonbuild/scripts/yelphelper.py:20:1: F401 '..mesonlib.MesonException' imported but unused from ..mesonlib import MesonException ^ ./mesonbuild/backend/vs2010backend.py:17:1: F401 're' imported but unused import re ^ ./test cases/vala/8 generated sources/src/copy_file.py:3:1: F401 'os' imported but unused import os ^ ./test cases/common/107 postconf/postconf.py:3:1: F401 'sys' imported but unused import sys, os ^ ./test cases/common/129 object only target/obj_generator.py:5:1: F401 'shutil' imported but unused import sys, shutil, subprocess ^ ./test cases/common/57 custom target chain/usetarget/subcomp.py:3:1: F401 'os' imported but unused import sys, os ^ ./test cases/common/95 dep fallback/subprojects/boblib/genbob.py:3:1: F401 'os' imported but unused import os ^ ./test cases/common/98 gen extra/srcgen.py:4:1: F401 'os' imported but unused import os ^ ./test cases/common/113 generatorcustom/gen.py:3:1: F401 'os' imported but unused import sys, os ^ ./test cases/common/113 generatorcustom/catter.py:3:1: F401 'os' imported but unused import sys, os ^ ./test cases/common/59 object generator/obj_generator.py:5:1: F401 'shutil' imported but unused import sys, shutil, subprocess ^ Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-11-26Install mesontest script along with the othersMinijackson1-0/+1
2016-10-11setup.py: On Unix install scripts without .py suffixPatrick Griffis1-0/+27
2016-05-30Remove unmaintained and broken PyQt5 GUI (#574)Nirbheek Chauhan1-3/+0
2016-03-28Error out if trying to install with Python 2.Jussi Pakkanen1-0/+6
2016-03-02Back to .py suffix in files. Closes #394.Jussi Pakkanen1-1/+5
2016-01-23Tweak setup.py includes.Jussi Pakkanen1-0/+1
2016-01-16Fix wraptool.Jussi Pakkanen1-1/+1
2016-01-16Fix some issues that break pypi installs and bump version to upload new version.Jussi Pakkanen1-2/+5
2016-01-16Some text tweaks.Jussi Pakkanen1-1/+1
2016-01-16Removed custom tar generator.Jussi Pakkanen1-0/+3
2016-01-16Support both setuptools and distutils.Jussi Pakkanen1-1/+5
2016-01-16Added distutils setup.py.Jussi Pakkanen1-0/+50