Skip to content
Myr

invoke!

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 80a861c · Browse files · 3 files+40 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+40 added−2 removed

  • other:+40 added−2 removed

3 files+40 added−2 removed

added:invokefile.py+5 added
1from invoke import run, task23@task4def build():5 print("Building!")
modified:requirements.txt+3 added-2 removed
1pytest2sphinx1py==1.4.122pytest==2.3.43invoke==0.2.0
added:tasks.py+32 added
1# -*- coding: utf-8 -*-23import requests4from invoke import run, task56@task7def test():8 run('py.test', pty=True)910@task11def deps():12 print('Vendoring urllib3...')1314 run('rm -fr requests/packages/urllib3')15 run('git clone https://github.com/shazow/urllib3.git')16 run('mv urllib3/urllib3 requests/packages/')17 run('rm -fr urllib3')1819 print('Vendoring Charade...')2021 run('rm -fr requests/packages/charade')22 run('git clone https://github.com/sigmavirus24/charade.git')23 run('mv charade/charade requests/packages/')24 run('rm -fr charade')2526@task27def certs():28 print('Grabbing latest CA Bundle...')29 r = requests.get('https://raw.github.com/kennethreitz/certifi/master/certifi/cacert.pem')3031 with open('requests/cacert.pem', 'w') as f:32 f.write(r.content)