From f1174f012923637f08651714cb96e4572d043821 Mon Sep 17 00:00:00 2001 From: Hadi Jannat Date: Fri, 30 Aug 2024 09:55:13 +0200 Subject: [PATCH] Address PR comments: Update pyproject.toml and CI workflow --- .github/workflows/ci.yml | 1 - pyproject.toml | 10 ++++----- setup.py | 46 ---------------------------------------- 3 files changed, 5 insertions(+), 52 deletions(-) delete mode 100644 setup.py diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a54dbef..6b1e3cb7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,6 @@ jobs: run: | python -m pip install --upgrade pip pip install .[dev] - pip install coverage pip install -r requirements.txt - name: Setup test config and CouchDB database server run: | diff --git a/pyproject.toml b/pyproject.toml index aaab9404..bb0cb850 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "basyx-python-sdk" -version = "0.1.0" +version = "1.0.0" description = "The Eclipse BaSyx Python SDK, an implementation of the Asset Administration Shell for Industry 4.0 systems" authors = [ { name = "The Eclipse BaSyx Authors", email = "admins@iat.rwth-aachen.de" } @@ -27,10 +27,11 @@ dependencies = [ [project.optional-dependencies] dev = [ - "pytest>=6.0", - "flake8>=3.8", + "mypy", + "pycodestyle", + "codeblocks", "coverage", - # Add any other development dependencies here + # You may want to keep other necessary development dependencies here ] [project.urls] @@ -46,4 +47,3 @@ basyx = ["py.typed"] [tool.setuptools.exclude-package-data] "*" = ["test", "test.*"] -[tool.setuptools_scm] diff --git a/setup.py b/setup.py deleted file mode 100644 index 53105aa5..00000000 --- a/setup.py +++ /dev/null @@ -1,46 +0,0 @@ -import setuptools - -with open("README.md", "r", encoding='utf-8') as fh: - long_description = fh.read() - -setuptools.setup( - name="basyx-python-sdk", - version="0.1.0", - author="The Eclipse BaSyx Authors", - description="The Eclipse BaSyx Python SDK, an implementation of the Asset Administration Shell for Industry 4.0 systems", - long_description=long_description, - long_description_content_type="text/markdown", - url="https://github.com/eclipse-basyx/basyx-python-sdk", - packages=setuptools.find_packages(exclude=["test", "test.*"]), - zip_safe=False, - package_data={ - "basyx": ["py.typed"], - "basyx.aas.examples.data": ["TestFile.pdf"], - }, - classifiers=[ - "Programming Language :: Python :: 3", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - "Development Status :: 5 - Production/Stable", - ], - entry_points={ - 'console_scripts': [ - "aas-compliance-check = basyx.aas.compliance_tool.cli:main" - ] - }, - python_requires='>=3.8', - install_requires=[ - 'python-dateutil>=2.8,<3', - 'lxml>=4.2,<5', - 'urllib3>=1.26,<2.0', - 'pyecma376-2>=0.2.4', - ], - extras_require={ - 'dev': [ - 'pytest>=6.0', - 'flake8>=3.8', - 'coverage', - # Add any other development dependencies here - ], - }, -)