Skip to content

Commit

Permalink
Mitigate the pylint error caused by setuptools (Azure#1625)
Browse files Browse the repository at this point in the history
  • Loading branch information
troydai authored Jan 3, 2017
1 parent 058de00 commit c9686f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ jmespath
mock==1.3.0
nose==1.3.7
paramiko==2.0.2
pip
pip==9.0.1
pygments==2.1.3
pylint==1.5.4
pyOpenSSL==16.1.0
pyyaml==3.11
requests==2.9.1
setuptools==30.4.0
six==1.10.0
tabulate==0.7.5
vcrpy==1.10.3
4 changes: 3 additions & 1 deletion scripts/dev_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ def exec_command(command):
print('Running dev setup...')
print('Root directory \'{}\'\n'.format(root_dir))

# install general requirements
exec_command('pip install -r requirements.txt')

# command modules have dependency on azure-cli-core so install this first
exec_command('pip install -e src/azure-cli-nspkg')
exec_command('pip install -e src/azure-cli-core')
exec_command('python scripts/command_modules/install.py')

# azure cli has dependencies on the above packages so install this one last
exec_command('pip install -e src/azure-cli')
exec_command('pip install -r requirements.txt')

print('Finished dev setup.')

0 comments on commit c9686f1

Please sign in to comment.