-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from a-reich/pkging
moving build config to just pyproject
- Loading branch information
Showing
3 changed files
with
25 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,31 @@ | ||
[build-system] | ||
# These are the assumed default build requirements from pip: | ||
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support | ||
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"] | ||
requires = ["setuptools>=61", "wheel", "setuptools_scm[toml]>=3.4"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "versioned-pickle" | ||
description = "A small utility package for adding environment metadata to pickles and warning on mismatch when loaded" | ||
readme = "README.md" | ||
authors = [{name="Asaf Reich", email="[email protected]"}] | ||
dependencies = [ | ||
'importlib-metadata>=4.4;python_version<"3.10"', | ||
"typing-extensions>=3.10" | ||
] | ||
|
||
urls = {homepage="https://github.com/a-reich/versioned_pickle"} | ||
license = {text = "MIT License"} | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
requires-python = ">=3.8" | ||
dynamic = ["version"] | ||
[project.optional-dependencies] | ||
dev = ["pytest", "pytest-mock", "pytest-cov", "requests"] | ||
|
||
[tool.setuptools_scm] | ||
local_scheme = "dirty-tag" | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# just an empty setuptools config to get editable installs working until setuptools supports PEP 660 | ||
# see https://stackoverflow.com/questions/69711606/how-to-install-a-package-using-pip-in-editable-mode-with-pyproject-toml/71946741#71946741 |