Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
lpasselin committed Apr 8, 2021
2 parents e94b0fa + ec37ce1 commit 7ff745a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 16 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Images are returned as numpy arrays and behave like python objects.
This approach incurs almost no overhead in terms of CPU, memory or other resources.
It also simplifies usage. Kinect C api image buffers are directly reused and image releases are performed automatically by the python garbage collector.

Homepage: https://github.com/etiennedub/pyk4a/

## Prerequisites
The [Azure-Kinect-Sensor-SDK](https://github.com/microsoft/Azure-Kinect-Sensor-SDK) is required to build this library.
Expand Down Expand Up @@ -97,4 +98,4 @@ make fmt lint
make test
```

Note: you need `clang-format` tool(v 11.0+) for formatting CPP code.
Note: you need `clang-format` tool(v 11.0+) for formatting CPP code.
25 changes: 24 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
[metadata]
name = pyk4a
version = 1.2.2
description-file = README.md
description = Python wrapper over Azure Kinect SDK
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/etiennedub/pyk4a/
classifiers =
Operating System :: OS Independent
License :: OSI Approved :: MIT License
Development Status :: 4 - Beta
Topic :: Multimedia :: Video :: Capture
Programming Language :: Python :: 3
Programming Language :: C

[options]
packages = pyk4a
install_requires =
numpy
importlib; python_version >= "3.4"

[options.package_data]
pyk4a = py.typed


[flake8]
max-line-length = 120
Expand Down Expand Up @@ -29,4 +52,4 @@ ignore_missing_imports = True
ignore_missing_imports = True

[mypy-k4a_module]
ignore_missing_imports = True
ignore_missing_imports = True
15 changes: 1 addition & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,4 @@ def __str__(self):
include_dirs=[get_numpy_include()],
libraries=['k4a', 'k4arecord'])

setup(name='pyk4a',
version='1.2.0',
description='Python wrapper over Azure Kinect SDK',
license='GPL-3.0',
author='Etienne Dubeau',
install_requires=['numpy'],
python_requires='>=3.4',
author_email='[email protected]',
url='https://github.com/etiennedub/pyk4a/',
download_url='https://github.com/etiennedub/pyk4a/archive/1.0.1.tar.gz',
packages=['pyk4a'],
package_data={'pyk4a': ["py.typed"]},
ext_modules=[module],
)
setup(ext_modules=[module])

0 comments on commit 7ff745a

Please sign in to comment.