-
Notifications
You must be signed in to change notification settings - Fork 61
/
pyproject.toml
40 lines (32 loc) · 1.42 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=70.1.0", # Required for "bdist_wheel" to work correctly.
"setuptools-scm>=8.0", # Automatically include all Git-controlled files in sdist
"packaging>=22", # Due to incompatibility: https://github.com/pypa/setuptools/issues/4483
# Requirements for building Basilisk through conanfile
"conan>=1.40.1, <2.00.0",
"cmake>=3.26",
"swig==4.2.1" # Known to work with https://github.com/nightlark/swig-pypi/pull/120
]
[project]
name = 'Basilisk'
dynamic = ["version", "dependencies", "optional-dependencies"]
requires-python = ">=3.8, <3.12"
readme = "README.md"
license = {file = "LICENSE"}
description = "Basilisk: an Astrodynamics Simulation Framework"
[project.urls]
homepage = 'https://hanspeterschaub.info/basilisk/'
[tool.setuptools]
packages = [] # XXX: Leave blank, populated automatically by setup.py.
include-package-data = true
[tool.setuptools.package-data]
"*" = ["*.so", "*.dll", "*.lib", "*.pyd", "*.a", "*.dylib"] # Include all built objects.
Basilisk = ["supportData/**/*"] # Include all support data.
[tool.setuptools.dynamic]
version = {file = "docs/source/bskVersion.txt"}
dependencies = {file = "requirements.txt"}
[tool.setuptools.dynamic.optional-dependencies]
# TODO: Group optional requirements appropriately, e.g. "test", "docs"
optional = {file = "requirements_optional.txt"}