[build] Add minimal `pyproject.toml`

This commit is contained in:
pukkandan 2023-01-03 10:39:21 +05:30
parent d80ca5deaa
commit e9df3d42c4
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39
2 changed files with 9 additions and 2 deletions

3
pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ['setuptools']
build-backend = 'setuptools.build_meta'

View File

@ -1,8 +1,12 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
import os.path # Allow execution from anywhere
import subprocess import os
import sys import sys
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
import subprocess
import warnings import warnings
try: try: