Use meson (working?)

This commit is contained in:
Samuel Sloniker 2023-05-08 15:17:06 -07:00
parent 49a33d171a
commit a7b2c1fc4d
2 changed files with 3 additions and 7 deletions

View File

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

View File

@ -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"]