Skip to content

Commit

Permalink
Switch back to setuptools
Browse files Browse the repository at this point in the history
They use TOML and don't pin you in to the poetry env managment system
  • Loading branch information
WardLT committed Jan 22, 2024
1 parent 229798a commit f4dbde9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 25 deletions.
1 change: 0 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
pip install -e .[test]
- name: Lint with flake8
run: |
pip install flake8
flake8 batdata/ scripts/ tests
- name: Test with pytest
run: |
Expand Down
48 changes: 24 additions & 24 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
[tool.poetry]
[project]
name = "battery-data-toolkit"
version = "0.1.1"
description = "Utilities for reading and manipulating battery testing data"
readme = "README.md"
requires-python = ">=3.9"
license = "LICENSE"
license = {file = 'LICENSE'}
keywords = ["batteries", "science", "data science"]
authors = [
"Logan Ward <[email protected]>",
"Noah Paulson <npaulson@anl.gov>",
"Joseph Kubal <[email protected]>"
{name = "Logan Ward", email = "[email protected]"},
{name = "Noah Paulson", email = "lward@anl.gov"},
{name = "Joseph Kubal", email = "[email protected]"},
]
repository = "https://github.com/materials-data-facility/battery-data-toolkit"
packages = [
{ include = "batdata" },
dependencies = [
"pandas > 1.0",
"scipy > 1.3",
"pydantic < 2",
"tables > 3.6",
"h5py == 3.*",
"scythe-extractors >= 0.1",
"xlrd"
]

[tool.poetry.dependencies]
pandas = ">1.0"
scipy = "^1.3"
pydantic = "^1.7"
tables = "^3.6"
h5py = "^3"
scythe-extractors = "^0.1"
tqdm = "*"
xlrd = "*"
[tool.setuptools.packages.find]
include = ["batdata*"]

[tool.poetry.group.test.dependencies]
pytest = "^6.0.0"
pytest-cov = "*"
[project.optional-dependencies]
test = [
'flake8',
'pytest',
'pytest-cov'
]

[project.urls]
repository = "https://github.com/rovi-org/battery-data-toolkit"

[tool.poetry.scripts]
batdata-convert = "batdata.cli:main"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

0 comments on commit f4dbde9

Please sign in to comment.