forked from eclipse-basyx/basyx-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace setup.py with pyproject.toml and update CI configuration
- Loading branch information
1 parent
c5aeec8
commit d03eaff
Showing
2 changed files
with
75 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,46 @@ | ||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["setuptools>=45", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.poetry] | ||
[project] | ||
name = "basyx-python-sdk" | ||
version = "0.1.0" | ||
dynamic = ["version"] | ||
authors = [ | ||
{name = "The Eclipse BaSyx Authors", email = "[email protected]"} | ||
] | ||
description = "The Eclipse BaSyx Python SDK, an implementation of the Asset Administration Shell for Industry 4.0 systems" | ||
authors = ["The Eclipse BaSyx Authors IAT, RWTH Aachen University"] | ||
license = "MIT" | ||
readme = "README.md" | ||
homepage = "https://github.com/eclipse-basyx/basyx-python-sdk" | ||
requires-python = ">=3.8" | ||
license = {file = "LICENSE"} | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Development Status :: 5 - Production/Stable", | ||
] | ||
packages = [ | ||
{ include = "basyx" } | ||
dependencies = [ | ||
"python-dateutil>=2.8,<3", | ||
"lxml>=4.2,<5", | ||
"urllib3>=1.26,<2.0", | ||
"pyecma376-2>=0.2.4", | ||
"jsonschema~=4.7", | ||
"types-python-dateutil", | ||
"lxml-stubs~=0.5.1", | ||
] | ||
exclude = ["tests", "tests.*"] | ||
include = ["basyx/py.typed", "basyx.aas.examples.data/TestFile.pdf"] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.8" | ||
jsonschema = "~4.7" | ||
lxml = ">=4.2,<5" | ||
python-dateutil = ">=2.8,<3.0" | ||
pyecma376-2 = ">=0.2.4" | ||
urllib3 = ">=1.26,<2.0" | ||
lxml-stubs = "~0.5.1" | ||
|
||
[tool.poetry.dev-dependencies] | ||
types-python-dateutil = "*" | ||
#dateutil-stubs = "*" | ||
coverage = "^5.5" | ||
mypy = "^0.910" | ||
[project.urls] | ||
Homepage = "https://github.com/eclipse-basyx/basyx-python-sdk" | ||
|
||
[tool.poetry.scripts] | ||
[project.scripts] | ||
aas-compliance-check = "basyx.aas.compliance_tool.cli:main" | ||
|
||
[tool.setuptools] | ||
packages = {find = {exclude = ["test", "test.*"]}} | ||
zip-safe = false | ||
|
||
[tool.setuptools.package-data] | ||
"basyx" = ["py.typed"] | ||
"basyx.aas.examples.data" = ["TestFile.pdf"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "basyx.aas.__version__"} |