Browse Source

[ENH] update pyproject.toml

pull/1/head
troyyyyy 2 years ago
parent
commit
a07c0770bc
3 changed files with 26 additions and 7 deletions
  1. +1
    -1
      .github/workflows/build-and-test.yaml
  2. +19
    -6
      pyproject.toml
  3. +6
    -0
      requirements.txt

+ 1
- 1
.github/workflows/build-and-test.yaml View File

@@ -27,7 +27,7 @@ jobs:
- name: Install package dependencies
run: |
python -m pip install --upgrade pip
pip install -r build_tools/requirements.txt
pip install -r requirements.txt
- name: Install
run: pip install -v -e .
- name: Run tests


+ 19
- 6
pyproject.toml View File

@@ -10,7 +10,7 @@ authors = [
]
description = "ABL-Package"
readme = "README.md"
requires-python = ">=3.6"
requires-python = ">=3.6.0"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
@@ -30,9 +30,22 @@ dependencies = [
Homepage = "https://github.com/AbductiveLearning/ABL-Package"
Issues = "https://github.com/AbductiveLearning/ABL-Package/issues"

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests",
[project.optional-dependencies]
test = [
"pytest-cov",
"black==22.10.0",
]

[project.classifiers]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]

+ 6
- 0
requirements.txt View File

@@ -0,0 +1,6 @@
numpy
pyswip==0.2.9
torch
torchvision
zoopt
termcolor

Loading…
Cancel
Save