Skip to content

Commit

Permalink
Requirements added (#19)
Browse files Browse the repository at this point in the history
* requirements.txt added

* setup is using requirements.txt
  • Loading branch information
gaborvecsei authored Oct 17, 2020
1 parent 56490a3 commit 06d64e4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Easy to use **multi object tracking** package based on colors :art:
pip install color-tracker
```

You will need the following packages:
- OpenCV3 (`pip install opencv-python`)
- Numpy (`pip install numpy`)
```
pip install git+https://github.com/gaborvecsei/Color-Tracker.git
```

## Object Tracker

Expand Down
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
opencv-python
numpy
scipy
imageio
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,19 @@

from setuptools import setup, find_packages

VERSION = '0.1.1'

here = path.abspath(path.dirname(__file__))

with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

with open(path.join(here, 'requirements.txt')) as f:
requirements = f.read().splitlines()

setup(
name='color_tracker',
version='0.0.4',
version=VERSION,
description='Easy to use color tracking package for object tracking based on colors',
long_description=long_description,
long_description_content_type='text/markdown',
Expand All @@ -40,5 +45,6 @@
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3'],
keywords='color tracker vecsei gaborvecsei color_tracker',
install_requires=requirements,
packages=find_packages(),
)

0 comments on commit 06d64e4

Please sign in to comment.