Skip to content

Commit fdceb65

Browse files
authored
Update files included in sdist (#156)
* Include the license file the the source distribution * Specify path to license file * Include AUTHORS.rst, CONTRIBUTING.rst, README.rst, and tests in sdist
1 parent 1433b85 commit fdceb65

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

MANIFEST.in

Lines changed: 0 additions & 18 deletions
This file was deleted.

pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ keywords = [
1717
"lipid",
1818
"molecular dynamics",
1919
]
20+
license = { file = "LICENSE" }
2021
description = "Analyse MD simulations of lipids with python'"
2122
readme = "README.rst"
2223
requires-python = ">=3.11"
@@ -81,6 +82,19 @@ module-name = "lipyphilic._lipyferric"
8182
python-source = "src"
8283
python-packages = ["lipyphilic"]
8384
strip = true
85+
include = [
86+
"AUTHORS.rst",
87+
"CHANGELOG.rst",
88+
"CONTRIBUTING.rst",
89+
"LICENSE",
90+
"README.rst",
91+
{ path = "tests/**/*", format = "sdist" },
92+
]
93+
exclude = [
94+
"**/__pycache__/*",
95+
"**/*.pyc",
96+
"**/*.pyo"
97+
]
8498

8599
[tool.pytest.ini_options]
86100
addopts = "--color=yes -vv --strict-markers"

0 commit comments

Comments
 (0)