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 = import('python').find_installation()
py.install_sources( py.install_sources(
'adsms__init__.py', 'adsms/__init__.py',
preserve_path: true,
) )
install_data('run_adsms.py', install_dir: get_option('bindir'), rename: 'adsms') install_data('run_adsms.py', install_dir: get_option('bindir'), rename: 'adsms')

View File

@ -1,6 +1,6 @@
[build-system] [build-system]
requires = ["setuptools>=61.0.0", "wheel"] build-backend = 'mesonpy'
build-backend = "setuptools.build_meta" requires = ['meson-python']
[project] [project]
name = "adsms" name = "adsms"
@ -22,6 +22,3 @@ Homepage = "https://git.kj7rrv.com/kj7rrv/adsms"
[project.scripts] [project.scripts]
adsms = "adsms:main" adsms = "adsms:main"
[tool.setuptools]
packages = ["adsms"]