Skip to content

Commit

Permalink
use pyproject.toml for conan dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Aug 5, 2024
1 parent 78f143c commit 408daed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ requires = [
"wheel",
"ninja",
"cmake>=3.12",
"conan",
]
build-backend = "setuptools.build_meta"

Expand Down
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,15 @@ def build_extension(self, ext: CMakeExtension) -> None:
version="0.0.1",
author="Andreas Stefl",
author_email="stefl.andreas@gmail.com",
description="C++ library that translates office documents to HTML",
description="It's Android's first OpenOffice Document Reader for Python!",
long_description="",
ext_modules=[CMakeExtension("pyodr", "src/cpp")],
cmdclass={"build_ext": CMakeBuild},
zip_safe=False,
extras_require={"test": ["pytest>=6.0"]},
install_requires=[],
extras_require={
"dev": ["black"],
"test": ["pytest>=6.0"],
},
python_requires=">=3.7",
)

0 comments on commit 408daed

Please sign in to comment.