Skip to content

Commit

Permalink
setup.py for PIP packages (nutonomy#27)
Browse files Browse the repository at this point in the history
* Added setup.py for pip installation

* Updated version
  • Loading branch information
holger-motional authored Jan 25, 2019
1 parent 58b9daa commit 8d7392f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Welcome to the devkit of the [nuScenes](https://www.nuscenes.org) dataset.
- [Backward compatibility](#backward-compatibility)

## Changelog
- Dec. 20, 2018: Initial evaluation code released. See notes on [backward compatibility](#compatibility-notes).
- Dec. 20, 2018: Initial evaluation code released. See notes on [backward compatibility](#backward-compatibility).
- Nov. 21, 2018: RADAR filtering and multi sweep aggregation.
- Oct. 4, 2018: Code to parse RADAR data released.
- Sep. 12, 2018: Devkit for teaser dataset released.
Expand Down Expand Up @@ -61,7 +61,7 @@ In case you want to avoid downloading and setting up the data, you can also take
To learn more about the dataset, go to [nuScenes.org](https://www.nuscenes.org) or take a look at the [database schema](https://github.com/nutonomy/nuscenes-devkit/blob/master/schema.md) and [annotator instructions](https://github.com/nutonomy/nuscenes-devkit/blob/master/instructions.md).

## Object detection task
For instructions related to the object detection task, the results format, classes and evaluation metrics, please refer to [this readme](https://github.com/nutonomy/nuscenes-devkit/tree/eval/python-sdk/nuscenes/eval).
For instructions related to the object detection task, the results format, classes and evaluation metrics, please refer to [this readme](https://github.com/nutonomy/nuscenes-devkit/blob/master/python-sdk/nuscenes/eval/README.md).

## Frequently asked questions
1) *How come some objects visible in the camera images are not annotated?* In the [annotator instructions](https://github.com/nutonomy/nuscenes-devkit/blob/master/instructions.md) we specify that an object should only be annotated if it is covered by at least one LIDAR point. This is done to have precise location annotations, speedup the annotation process and remove faraway objects.
Expand Down
Empty file removed python-sdk/__init__.py
Empty file.
28 changes: 28 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import setuptools
import re

with open("README.md", "r") as fh:
long_description = fh.read()

with open('requirements.txt') as f:
requirements = f.read().splitlines()
print(requirements)

setuptools.setup(
name='nuscenes-devkit',
version='0.1.9',
author="Holger Caesar, Qiang Xu, Oscar Beijbom et al.",
author_email="nuscenes@nutonomy.com",
description="The official devkit of the nuScenes dataset",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/nutonomy/nuscenes-devkit",
python_requires='>=3.7',
install_requires=requirements,
packages=['nuscenes', 'nuscenes.eval', 'nuscenes.export', 'nuscenes.utils'],
package_dir={'': 'python-sdk'},
classifiers=[
"Programming Language :: Python :: 3.7",
"Operating System :: OS Independent",
],
)

0 comments on commit 8d7392f

Please sign in to comment.