Skip to content

Commit

Permalink
Privates folder and SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel committed Aug 31, 2018
1 parent 4fd5a93 commit e6d2abb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/dev_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ def pip_command(command):
print('Running dev setup...')
print('Root directory \'{}\'\n'.format(root_dir))

# install private whls if there are any
privates_dir = os.path.join(root_dir, 'privates')
if os.path.isdir(privates_dir) and os.listdir(privates_dir):
whl_list = ' '.join([os.path.join(privates_dir, f) for f in os.listdir(privates_dir)])
pip_command('install {}'.format(whl_list))

# install packages
for package_list in [nspkg_packages, content_packages]:
for package_name in package_list:
Expand Down

0 comments on commit e6d2abb

Please sign in to comment.