-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It declares the project-level metadata (previously found in setup.py), declares setuptools as its build system, and includes the contents of the now removed pytest.ini. Signed-off-by: Rodrigo Tobar <[email protected]>
- Loading branch information
Showing
4 changed files
with
41 additions
and
33 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[build-system] | ||
requires = ["setuptools >= 61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "crc32c" | ||
version = "2.7.1" | ||
authors = [ | ||
{ name = "Rodrigo Tobar", email = "[email protected]" }, | ||
] | ||
description = "A python package implementing the crc32c algorithm in hardware and software" | ||
readme = "README.rst" | ||
license = { text = "LGPL-2.1-or-later" } | ||
requires-python = ">=3.7" | ||
classifiers = [ | ||
# There's no more specific classifier for LGPLv2.1+ | ||
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: C", | ||
"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", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
] | ||
|
||
[project.urls] | ||
github = "https://github.com/ICRAR/crc32c" | ||
changelog = "https://github.com/ICRAR/crc32c/blob/master/CHANGELOG.md" | ||
issues = "https://github.com/ICRAR/crc32c/issues" | ||
|
||
[tool.pytest.ini_options] | ||
markers = | ||
calculates_crc32c: Mark a test as needing crc32c working |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,40 +32,10 @@ | |
include_dirs=["src/cc32c/ext/"], | ||
) | ||
|
||
classifiers = [ | ||
# There's no more specific classifier for LGPLv2.1+ | ||
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: C", | ||
"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", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
] | ||
|
||
with open("README.rst", "rt") as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name="crc32c", | ||
author="The ICRAR DIA Team", | ||
url="https://github.com/ICRAR/crc32c", | ||
author_email="[email protected]", | ||
version="2.7.1", | ||
license="LGPL-2.1-or-later", | ||
description=( | ||
"A python package implementing the crc32c algorithm" " in hardware and software" | ||
), | ||
long_description=long_description, | ||
long_description_content_type="text/x-rst", | ||
classifiers=classifiers, | ||
packages=["crc32c"], | ||
package_dir={"": "src"}, | ||
package_data={"crc32c": ["*.pyi", "py.typed", "ext/*.h"]}, | ||
python_requires=">=3.7", | ||
ext_modules=[crcmod_ext], | ||
test_suite="test", | ||
) |