Skip to content

Commit 53760af

Browse files
committed
prep for pypi upload
1 parent 63bb2b3 commit 53760af

File tree

5 files changed

+46
-7
lines changed

5 files changed

+46
-7
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) [2021] [Ling Evan]
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Deep SORT
22

3-
**NEW CHANGE PSA: recommend to install as a python package now, instead of including as a git submodule. See [Install section](#install).**
4-
53
## Introduction
64

75
A more realtime adaptation of Deep SORT.
@@ -19,9 +17,9 @@ See their [paper](https://arxiv.org/abs/1703.07402) for more technical informati
1917
- (optional) [Embedder](#appearance-embedding-network) requires Pytorch & Torchvision or Tensorflow
2018

2119
## Install
22-
- ~~Include this repo as submodule (old way)~~
23-
- ~~`deepsort_tracker.py` is your main point of entry~~
24-
- In the main project folder, install deep_sort_realtime as a python package using `pip` or as an editable package if you like (`-e` flag)
20+
21+
- via PyPI through `pip3 install deep-sort-realtime`
22+
- or clone this repo, install deep_sort_realtime as a python package using `pip` or as an editable package if you like (`-e` flag)
2523
```bash
2624
cd deep_sort_realtime && pip3 install -e .
2725
```

deep_sort_realtime/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1+
__version__ = "1.0"

pyproject.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=42",
4+
"wheel"
5+
]
6+
build-backend = "setuptools.build_meta"

setup.py

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
from setuptools import setup, find_packages
22

3+
with open("README.md", "r", encoding="utf-8") as fh:
4+
long_description = fh.read()
5+
36
setup(
4-
name='deep_sort_realtime',
7+
name='deep-sort-realtime',
58
version='1.0',
9+
author="levan92",
10+
author_email="[email protected]",
11+
description="A more realtime adaptation of Deep SORT",
12+
long_description=long_description,
13+
long_description_content_type="text/markdown",
14+
url='https://github.com/levan92/deep_sort_realtime',
15+
classifiers=[
16+
"Programming Language :: Python :: 3",
17+
"License :: OSI Approved :: MIT License",
18+
"Operating System :: OS Independent",
19+
],
620
packages=find_packages(exclude=("test",)),
721
package_data={
822
'deep_sort_realtime.embedder': ['weights/*']

0 commit comments

Comments
 (0)