diff --git a/meson.build b/meson.build index 8a62892..4d3b978 100644 --- a/meson.build +++ b/meson.build @@ -3,8 +3,7 @@ project('adsms') py = import('python').find_installation() py.install_sources( - 'adsms__init__.py', - preserve_path: true, + 'adsms/__init__.py', ) install_data('run_adsms.py', install_dir: get_option('bindir'), rename: 'adsms') diff --git a/pyproject.toml b/pyproject.toml index ffc9a87..6fef7f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] -build-backend = "setuptools.build_meta" +build-backend = 'mesonpy' +requires = ['meson-python'] [project] name = "adsms" @@ -22,6 +22,3 @@ Homepage = "https://git.kj7rrv.com/kj7rrv/adsms" [project.scripts] adsms = "adsms:main" - -[tool.setuptools] -packages = ["adsms"]