Skip to content

Commit 1d4d0fb

Browse files
authored
replace setup.py with pyproject.toml (#20)
1 parent 1de00ff commit 1d4d0fb

4 files changed

Lines changed: 12 additions & 18 deletions

File tree

MANIFEST.in

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
include LICENSE
22
include README.md
3-
include src/*.h
4-
include src/*.cc
5-
include src/*.cpp
6-
include src/*.pyx
7-
include *requirements.txt
3+
recursive-include src *.h
4+
recursive-include src *.cc
5+
recursive-include src *.cpp
6+
recursive-include src *.pyx

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,12 @@ requires = [
99
"wheel",
1010
]
1111

12+
[tool.pytest.ini_options]
13+
addopts = "-s --doctest-modules"
14+
testpaths = [
15+
"src",
16+
"tests",
17+
]
18+
1219
[tool.cibuildwheel]
1320
test-requires = "pytest"

setup.cfg

Lines changed: 0 additions & 12 deletions
This file was deleted.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def get_long_description(relpath, encoding="utf-8"):
128128
cmdclass=CMDCLASS,
129129
ext_modules=EXT_MODULES,
130130
package_dir={"": "src"},
131-
keywords=["hash", "hashing", "metrohash"],
131+
keywords=["hash", "hashing", "metrohash", "cython"],
132132
classifiers=[
133133
"Development Status :: 5 - Production/Stable",
134134
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)