mirror of
https://github.com/odoo-ide/pydevd-odoo.git
synced 2025-12-17 08:19:04 +02:00
Switch to pyproject.toml
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
try:
|
||||
__import__('pkg_resources').declare_namespace(__name__)
|
||||
except ImportError:
|
||||
import pkgutil
|
||||
__path__ = pkgutil.extend_path(__path__, __name__)
|
||||
@@ -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
17
pyproject.toml
Normal 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"
|
||||
16
setup.py
16
setup.py
@@ -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()
|
||||
|
||||
1
src/pydevd_plugins/__init__.py
Normal file
1
src/pydevd_plugins/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
||||
1
src/pydevd_plugins/extensions/__init__.py
Normal file
1
src/pydevd_plugins/extensions/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
||||
Reference in New Issue
Block a user