Skip to content

Commit 42e5268

Browse files
authored
fix: update toml file with setup.cfg content (#319)
This PR puts the `version` under the right header. and adds the missing info in pyproject.toml
1 parent 436a515 commit 42e5268

File tree

2 files changed

+37
-4
lines changed

2 files changed

+37
-4
lines changed

pyproject.toml

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,37 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
[build-system]
2-
# Minimum requirements for the build system to execute.
3-
requires = ["setuptools", "wheel"] # PEP 508 specifications.
4-
version = "1.7.1"
16+
requires = ["setuptools", "wheel"]
17+
build-backend = "setuptools.build_meta"
18+
19+
[project]
20+
name = "google-crc32c"
21+
version = "1.7.1"
22+
description = "A python wrapper of the C library 'Google CRC32C'"
23+
readme = "README.md"
24+
requires-python = ">=3.9"
25+
license = "Apache-2.0"
26+
authors = [{ name = "Google LLC", email = "[email protected]" }]
27+
classifiers = [
28+
"Development Status :: 4 - Beta",
29+
"Intended Audience :: Developers",
30+
"Operating System :: OS Independent",
31+
"Programming Language :: Python :: 3",
32+
"Programming Language :: Python :: 3.9",
33+
"Programming Language :: Python :: 3.10",
34+
"Programming Language :: Python :: 3.11",
35+
"Programming Language :: Python :: 3.12",
36+
"Programming Language :: Python :: 3.13",
37+
]

src/google_crc32c/_checksum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def update(self, data):
3838
chunk (Optional[bytes]): a chunk of data used to extend
3939
the CRC32C checksum.
4040
"""
41-
raise NotImplemented()
41+
raise NotImplementedError
4242

4343
def digest(self):
4444
"""Big-endian order, per RFC 4960.

0 commit comments

Comments
 (0)