aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py15
1 files changed, 2 insertions, 13 deletions
diff --git a/setup.py b/setup.py
index 68f3a28..976afb2 100644
--- a/setup.py
+++ b/setup.py
@@ -20,23 +20,12 @@ if sys.version_info < (3, 6):
raise SystemExit('ERROR: Tried to install Meson with an unsupported Python version: \n{}'
'\nMeson requires Python 3.6.0 or greater'.format(sys.version))
-from mesonbuild.coredata import version
-from setuptools import setup, find_packages
+from setuptools import setup
-# On windows, will create Scripts/meson.exe and Scripts/meson-script.py
-# Other platforms will create bin/meson
-entries = {'console_scripts': ['meson=mesonbuild.mesonmain:main']}
data_files = []
if sys.platform != 'win32':
# Only useful on UNIX-like systems
data_files = [('share/man/man1', ['man/meson.1']),
('share/polkit-1/actions', ['data/com.mesonbuild.install.policy'])]
-setup(name='meson',
- version=version,
- packages=find_packages(
- include=['mesonbuild', 'mesonbuild.*'],
- exclude=['*.data']
- ),
- entry_points=entries,
- data_files=data_files,)
+setup(data_files=data_files,)