Skip to content

Commit

Permalink
Update to be compatible with Ecosystem (#73)
Browse files Browse the repository at this point in the history
* Update ecosystem.json

* Update pyproject.toml

* Clean
  • Loading branch information
mickahell committed Sep 7, 2023
1 parent 7059fa5 commit cbf1695
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
11 changes: 4 additions & 7 deletions ecosystem.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
{
"dependencies_files": [
"requirements.txt",
"requirements-dev.txt"
],
"dependencies_files": [],
"language": {
"name": "python",
"versions": ["3.9"]
},
"tests_command": [
"pytest"
"python -m pytest -v --doctest-modules"
],
"styles_check_command": [
"pylint -rn prototype_template tests"
],
"coverages_check_command": [
"coverage3 run -m pytest",
"coverage3 report --fail-under=80"
"coverage3 run --source prototype_template --parallel-mode -m pytest --doctest-modules",
"coverage3 combine"
]
}
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies = [
"certifi>=2021.5.30",
"importlib_metadata>=4.8.1",
"qiskit-aer>=0.10.3",
"qiskit-terra>=0.19.2",
"qiskit>=0.14.1",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -53,3 +53,10 @@ requires = [
"setuptools-scm",
]
build-backend = "setuptools.build_meta"

[tool.setuptools]
py-modules = []

[tool.setuptools.packages.find]
include = ['prototype_template*']
exclude = ['prototype_template*tests']

0 comments on commit cbf1695

Please sign in to comment.