-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch python build to scikit-build-core #1816
Draft
JeanChristopheMorinPerso
wants to merge
3
commits into
AcademySoftwareFoundation:main
Choose a base branch
from
JeanChristopheMorinPerso:switch_to_scikit_build_core
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
This file was deleted.
Oops, something went wrong.
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
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,10 +1,95 @@ | ||||||||
[build-system] | ||||||||
requires = [ | ||||||||
"setuptools", | ||||||||
"wheel", | ||||||||
"cmake>=3.12", | ||||||||
requires = ["scikit-build-core>=0.10.7"] | ||||||||
build-backend = "scikit_build_core.build" | ||||||||
|
||||||||
[project] | ||||||||
name = "OpenTimelineIO" | ||||||||
version = "0.18.0.dev1" | ||||||||
description = "Editorial interchange format and API" | ||||||||
authors = [ | ||||||||
{name = "Contributors to the OpenTimelineIO project", email = "[email protected]"} | ||||||||
] | ||||||||
license = {file = "LICENSE.txt"} | ||||||||
keywords = ["film", "tv", "editing", "editorial", "edit", "non-linear", "edl", "time"] | ||||||||
classifiers = [ | ||||||||
"Development Status :: 4 - Beta", | ||||||||
"Topic :: Multimedia :: Graphics", | ||||||||
"Topic :: Multimedia :: Video", | ||||||||
"Topic :: Multimedia :: Video :: Display", | ||||||||
"Topic :: Multimedia :: Video :: Non-Linear Editor", | ||||||||
"Topic :: Software Development :: Libraries :: Python Modules", | ||||||||
"License :: OSI Approved :: Apache Software License", | ||||||||
"Programming Language :: Python :: 3", | ||||||||
"Programming Language :: Python :: 3.7", | ||||||||
"Programming Language :: Python :: 3.8", | ||||||||
"Programming Language :: Python :: 3.9", | ||||||||
"Programming Language :: Python :: 3.10", | ||||||||
"Programming Language :: Python :: 3.11", | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
"Operating System :: OS Independent", | ||||||||
"Natural Language :: English", | ||||||||
] | ||||||||
|
||||||||
# Disallow 3.9.0 because of https://github.com/python/cpython/pull/22670 | ||||||||
requires-python = ">=3.7, !=3.9.0" | ||||||||
|
||||||||
dependencies = [ | ||||||||
'importlib_metadata>=1.4; python_version < "3.8"' | ||||||||
] | ||||||||
|
||||||||
[project.urls] | ||||||||
Documentation = "https://opentimelineio.readthedocs.io" | ||||||||
Homepage = "https://opentimeline.io" | ||||||||
Issues = "https://github.com/AcademySoftwareFoundation/OpenTimelineIO/issues" | ||||||||
Source = "https://github.com/AcademySoftwareFoundation/OpenTimelineIO" | ||||||||
|
||||||||
[project.scripts] | ||||||||
otiocat = "opentimelineio.console.otiocat:main" | ||||||||
otioconvert = "opentimelineio.console.otioconvert:main" | ||||||||
otiopluginfo = "opentimelineio.console.otiopluginfo:main" | ||||||||
otiostat = "opentimelineio.console.otiostat:main" | ||||||||
otiotool = "opentimelineio.console.otiotool:main" | ||||||||
otioview = "opentimelineview.console:main" | ||||||||
otioautogen_serialized_schema_docs = "opentimelineio.console.autogen_serialized_datamodel:main" | ||||||||
|
||||||||
[project.optional-dependencies] | ||||||||
dev = [ | ||||||||
"check-manifest", | ||||||||
"flake8>=3.5", | ||||||||
"coverage>=4.5", | ||||||||
"urllib3>=1.24.3", | ||||||||
] | ||||||||
build-backend = "setuptools.build_meta" | ||||||||
view = [ | ||||||||
'PySide2~=5.11; platform.machine=="x86_64"', | ||||||||
'PySide6~=6.2; platform.machine=="aarch64"', | ||||||||
] | ||||||||
|
||||||||
[tool.scikit-build] | ||||||||
cmake.version = "CMakeLists.txt" | ||||||||
|
||||||||
cmake.build-type = "Release" | ||||||||
|
||||||||
logging.level = "DEBUG" | ||||||||
build.verbose = true | ||||||||
|
||||||||
sdist.include = ["src/opentimelineio/adapters/builtin_adapters.plugin_manifest.json"] | ||||||||
|
||||||||
wheel.packages = ["src/py-opentimelineio/opentimelineio", "src/opentimelineview"] | ||||||||
wheel.install-dir = "opentimelineio" | ||||||||
|
||||||||
[[tool.scikit-build.generate]] | ||||||||
path = "opentimelineio/__init__.py" | ||||||||
template-path = "src/py-opentimelineio/opentimelineio/__init__.py" | ||||||||
|
||||||||
[[tool.scikit-build.generate]] | ||||||||
path = "opentimelineview/__init__.py" | ||||||||
template-path = "src/opentimelineview/__init__.py" | ||||||||
|
||||||||
[tool.scikit-build.cmake.define] | ||||||||
OTIO_PYTHON_INSTALL = "ON" | ||||||||
OTIO_CXX_INSTALL = "OFF" | ||||||||
OTIO_SHARED_LIBS = "OFF" | ||||||||
BUILD_TESTING = "OFF" | ||||||||
OTIO_INSTALL_PYTHON_MODULES = "OFF" | ||||||||
|
||||||||
[tool.cibuildwheel.linux] | ||||||||
archs = ["x86_64", "aarch64"] | ||||||||
|
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.