Skip to content

Commit

Permalink
Replace MANIFEST.in with pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Aug 9, 2023
1 parent 452ff49 commit ead1584
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
5 changes: 0 additions & 5 deletions MANIFEST.in

This file was deleted.

28 changes: 19 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@
requires = ["setuptools >= 61.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
namespaces = false

[tool.setuptools.dynamic]
version = {attr = "optimade.__version__"}

[project]
name = "optimade"
description = "Tools for implementing and consuming OPTIMADE APIs."
Expand Down Expand Up @@ -50,6 +41,25 @@ optimade-get = "optimade.client.cli:get"
"Bug Tracker" = "https://github.com/Materials-Consortia/optimade-python-tools/issues"
"Documentation" = "https://optimade.org/optimade-python-tools"

[tools.setuptools]
license-files = ["LICENSE"]
include-package-data = true

[tool.setuptools.dynamic]
version = {attr = "optimade.__version__"}

[tool.setuptools.packages.find]
namespaces = false

[tool.setuptools.package-data]
optimade = ["py.typed"]
"optimade.server" = ["*.json"]
"optimade.server.data" = ["*.json"]
"optimade.server.routers" = ["static/*.html"]
"optimade.grammar" = ["*.lark"]



[project.optional-dependencies]
elastic = ["elasticsearch-dsl~=7.4,<8.0", "elasticsearch~=7.17"]
mongo = ["pymongo~=4.0", "mongomock~=4.1"]
Expand Down

0 comments on commit ead1584

Please sign in to comment.