Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix - add setup.py #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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/*
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Depth2HHA-python
27 changes: 27 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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='[email protected]',
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,
)
Empty file added utils/__init__.py
Empty file.