diff --git a/.gitignore b/.gitignore index e0e8c99..04f3aec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,24 @@ __pycache__ .DS_Store + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg + + +# PyCharm +.idea/* diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..3e4be26 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +Depth2HHA-python diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..7ec04cb --- /dev/null +++ b/setup.py @@ -0,0 +1,27 @@ +from pathlib import Path + +from setuptools import find_packages, setup + +BASE_PATH = Path(__file__).absolute().parent + +requirementPath = BASE_PATH / 'requirements.txt' +install_requires = [] + +if requirementPath.is_file(): + with open(requirementPath) as f: + install_requires = f.read().splitlines() + +setup( + name='Depth2HHA-python', + version='0', + url='https://github.com/skimit/Depth2HHA-python', + license='MIT License ', + author='Chen XiaoKang ', + author_email='pkucxk@pku.edu.cn', + description='This repo implements HHA-encoding algorithm in python3. HHA image is an encoding ' + 'algorithm to make better use of depth images, which was proposed by s-gupta in ' + 'this paper: Learning Rich Features from RGB-D Images for Object Detection and ' + 'Segmentation.', + packages=find_packages(), + install_requires=install_requires, + ) diff --git a/utils/__init__.py b/utils/__init__.py new file mode 100644 index 0000000..e69de29