mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
get buildbot running
This commit is contained in:
parent
eb1b0edf82
commit
3687528ba7
8
build.py
8
build.py
|
@ -27,10 +27,12 @@ if pip_date:
|
|||
x('pip install -r requirements.txt')
|
||||
|
||||
if install_mode == 'pip':
|
||||
for filename in os.listdir('dist'):
|
||||
os.unlink(os.path.join('dist', filename))
|
||||
x('python setup.py sdist')
|
||||
dists = os.listdir('dist')
|
||||
assert len(dists) == 1
|
||||
x('pip install dist/%s' % dists[0])
|
||||
filenames = os.listdir('dist')
|
||||
assert len(filenames) == 1
|
||||
x('pip install dist/%s' % filenames[0])
|
||||
|
||||
elif install_mode == 'setup-install':
|
||||
x('python setup.py install')
|
||||
|
|
Loading…
Reference in New Issue
Block a user