Skip to content

Commit f50c257

Browse files
committed
Make Cython an optinal dependency. Update pyproject.toml and setup.py.
Resolves #166
1 parent 70c1ec3 commit f50c257

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ version = '0.3.30'
1313
description = 'Fast HTML5 parser with CSS selectors.'
1414
readme = 'README.rst'
1515
requires-python = '>=3.9'
16-
license = { file = 'LICENSE' }
16+
license = {text = 'MIT'}
1717
authors = [
1818
{ name = 'Artem Golubin', email = 'me@rushter.com' }
1919
]
2020
dependencies = [
21-
"Cython",
2221
]
22+
2323
keywords = [
2424
"selectolax",
2525
"html",
@@ -33,7 +33,6 @@ classifiers = [
3333
"Topic :: Internet",
3434
"Topic :: Internet :: WWW/HTTP",
3535
"Intended Audience :: Developers",
36-
"License :: OSI Approved :: MIT License",
3736
"Natural Language :: English",
3837
"Programming Language :: Python :: 3",
3938
"Programming Language :: Python :: 3.9",

setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,6 @@ def make_extensions():
176176
packages=find_packages(include=["selectolax"]),
177177
package_data={"selectolax": ["py.typed"]},
178178
include_package_data=True,
179-
license="MIT license",
180179
zip_safe=False,
181-
test_suite="tests",
182-
tests_require=[
183-
"pytest",
184-
],
185180
ext_modules=make_extensions(),
186181
)

0 commit comments

Comments
 (0)