-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing buil system for parallel pip from source
Changing the build system backend for the flatdata-generator to hatchling seems to allow parallel builds from source again. See: https://pip.pypa.io/en/stable/topics/local-project-installs/#build-artifacts on why it doesn't work with setuptools. TODO: Still needs some cleanup before being ready
- Loading branch information
Eike S R
committed
Jun 12, 2024
1 parent
1678f6d
commit 786c7b3
Showing
2 changed files
with
38 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,36 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel" | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "flatdata-generator" | ||
version = "0.4.5" | ||
description = "Generate source code for C++, Rust, Go or Python from a Flatdata schema file" | ||
readme = "README.md" | ||
license = "" | ||
authors = [ | ||
{ name = "Flatdata Developers" }, | ||
] | ||
build-backend = "setuptools.build_meta" | ||
classifiers = [ | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
] | ||
dependencies = [ | ||
"jinja2>=2.2", | ||
"pyparsing>=2.0", | ||
] | ||
|
||
[project.scripts] | ||
flatdata-generator = "flatdata.generator.app:main" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/heremaps/flatdata" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"/flatdata", | ||
] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["flatdata"] |