Skip to content

Commit

Permalink
Merge pull request #182 from pybamm-team/hatch
Browse files Browse the repository at this point in the history
Migrate to hatch + modern python packaging
  • Loading branch information
TomTranter authored Sep 1, 2022
2 parents b9b5518 + f36a314 commit d5b819f
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 108 deletions.
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

57 changes: 57 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[build-system]
requires = [
"hatchling",
]
build-backend = "hatchling.build"

[project]
name = "liionpack"
description = "A battery pack simulator for PyBaMM"
readme = "README.md"
license = "MIT"
authors = [
{ name = "Tom Tranter", email = "[email protected]" },
]
requires-python = ">=3.7"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
]
dependencies = [
"Ipython",
"lcapy",
"matplotlib",
"networkx",
"numpy",
"openpyxl",
"pandas",
"plotly",
"pybamm>=22.6",
"ray",
"redis",
"scikit-spatial",
"scipy",
"textwrapper",
"tqdm",
]
dynamic = [
"version",
]

[project.urls]
"Bug Tracker" = "https://github.com/pybamm-team/liionpack/issues"
Changelog = "https://github.com/pybamm-team/liionpack/blob/develop/CHANGELOG.md"
Documentation = "https://liionpack.readthedocs.io/en/latest/"
Homepage = "https://github.com/pybamm-team/liionpack"

[tool.hatch.version]
path = "liionpack/__init__.py"
16 changes: 0 additions & 16 deletions requirements.txt

This file was deleted.

64 changes: 0 additions & 64 deletions setup.py

This file was deleted.

0 comments on commit d5b819f

Please sign in to comment.