Skip to content

Commit cea4ef5

Browse files
committed
Add metadata and file list for sdist to pyproject.toml
1 parent efb5ccc commit cea4ef5

File tree

1 file changed

+39
-2
lines changed

1 file changed

+39
-2
lines changed

pyproject.toml

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,26 @@ cmake.source-dir = "skbuild"
99
name = "IsoSpecPy"
1010
dependencies = ["cffi"]
1111
description = "IsoSpecPy is a Python library for computing isotopic distributions of molecules."
12-
version = "2.3.0dev5"
12+
version = "2.3.0dev6"
13+
license = "BSD-2-Clause"
14+
license-files = ["LICENCE"]
15+
authors = [{name = "Michał Startek"}, {name = "Mateusz Łącki"}]
16+
readme = "README.md"
17+
requires-python = ">=3.6"
18+
classifiers = [
19+
"Programming Language :: Python :: 3",
20+
"Programming Language :: Python :: 3.6",
21+
"Topic :: Software Development :: Libraries :: Python Modules",
22+
"Development Status :: 5 - Production/Stable",
23+
"Operating System :: OS Independent",
24+
]
25+
keywords = ["isotopic distribution", "mass spectrometry", "chemistry", "isotopic envelope", "isotopologues"]
26+
27+
[project.urls]
28+
Homepage = "https://github.com/MatteoLacki/IsoSpec"
29+
Repository = "https://github.com/MatteoLacki/IsoSpec"
30+
31+
1332

1433
[project.optional-dependencies]
1534
testing = ["pytest", "OldIsoSpecPy @ https://files.pythonhosted.org/packages/43/9a/dbdda1351303318aca1bee7d8ad2a7cf5b466f2b1b1005d78013904bff1c/oldisospecpy-1.0.15.tar.gz"]
@@ -22,4 +41,22 @@ enable = ["pypy"]
2241
skip = ["cp36-*", "cp37-*"]
2342
test-command = "python -m pytest {project}/tests/Python"
2443
#test-sources = ["tests/Python"]
25-
test-extras = ["testing"]
44+
test-extras = ["testing"]
45+
46+
[tool.scikit-build.sdist]
47+
exclude = ["**/*"]
48+
include = [
49+
"/IsoSpecPy/*.py",
50+
"/IsoSpec++/*.c",
51+
"/IsoSpec++/*.h",
52+
"/IsoSpec++/*.hpp",
53+
"/IsoSpec++/*.cpp",
54+
"/src/**/*.hpp",
55+
"/src/**/*.h",
56+
"/src/**/*.cpp",
57+
"/src/**/*.cc",
58+
"/LICENCE",
59+
"/README.md",
60+
"/pyproject.toml",
61+
"/skbuild/CMakeLists.txt"
62+
]

0 commit comments

Comments
 (0)