Switch to pyproject.toml

This commit is contained in:
Trinh Anh Ngoc
2022-08-01 14:11:31 +07:00
parent 6e2bb682c0
commit 8049654cc2
7 changed files with 21 additions and 24 deletions

View File

@@ -1,5 +0,0 @@
try:
__import__('pkg_resources').declare_namespace(__name__)
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)

View File

@@ -1,5 +0,0 @@
try:
__import__('pkg_resources').declare_namespace(__name__)
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)

17
pyproject.toml Normal file
View File

@@ -0,0 +1,17 @@
[build-system]
requires = ["setuptools >= 61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pydevd-odoo"
version = "1.2"
authors = [
{ name = "Trinh Anh Ngoc", email = "atw1990@gmail.com" },
]
description = "PyDev.Debugger plugin for Odoo"
readme = "README.md"
license = { file = "LICENSE" }
[project.urls]
"Homepage" = "https://github.com/odoo-ide/pydevd-odoo"
"Bug Tracker" = "https://github.com/odoo-ide/pydevd-odoo/issues"

View File

@@ -1,15 +1,3 @@
from setuptools import setup, find_packages
from setuptools import setup
setup(
name='pydevd-odoo',
version='1.2',
description='PyDev.Debugger plugin for Odoo',
url='https://github.com/odoo-ide/pydevd-odoo',
author='Trinh Anh Ngoc',
author_email='atw1990@gmail.com',
packages=find_packages(),
namespace_packages=['pydevd_plugins.extensions'],
license='MIT',
long_description=open('README.md').read(),
long_description_content_type='text/markdown'
)
setup()

View File

@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

View File

@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)