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

nuScenes v2.0 pip requirements #449

Merged
merged 1 commit into from
Aug 17, 2020
Merged
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
10 changes: 8 additions & 2 deletions setup/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
with open('../README.md', 'r') as fh:
long_description = fh.read()

# Since nuScenes 2.0 the requirements are stored in separate files.
with open('requirements.txt') as f:
requirements = f.read().splitlines()
req_paths = f.read().splitlines()
requirements = []
for req_path in req_paths:
req_path = req_path.replace('-r ', '')
with open(req_path) as f:
requirements += f.read().splitlines()


def get_dirlist(_rootdir):
Expand All @@ -33,7 +39,7 @@ def get_dirlist(_rootdir):
name='nuscenes-devkit',
version='1.1.0',
author='Holger Caesar, Oscar Beijbom, Qiang Xu, Varun Bankiti, Alex H. Lang, Sourabh Vora, Venice Erin Liong, '
'Sergi Widjaja, Kiwoo Shin, Caglayan Dicle, Freddy Boulton, Whye Kit et al.',
'Sergi Widjaja, Kiwoo Shin, Caglayan Dicle, Freddy Boulton, Whye Kit, Asha Asvathaman et al.',
author_email='nuscenes@nutonomy.com',
description='The official devkit of the nuScenes dataset (www.nuscenes.org).',
long_description=long_description,
Expand Down