mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 18:56:36 +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')
|
x('pip install -r requirements.txt')
|
||||||
|
|
||||||
if install_mode == 'pip':
|
if install_mode == 'pip':
|
||||||
|
for filename in os.listdir('dist'):
|
||||||
|
os.unlink(os.path.join('dist', filename))
|
||||||
x('python setup.py sdist')
|
x('python setup.py sdist')
|
||||||
dists = os.listdir('dist')
|
filenames = os.listdir('dist')
|
||||||
assert len(dists) == 1
|
assert len(filenames) == 1
|
||||||
x('pip install dist/%s' % dists[0])
|
x('pip install dist/%s' % filenames[0])
|
||||||
|
|
||||||
elif install_mode == 'setup-install':
|
elif install_mode == 'setup-install':
|
||||||
x('python setup.py install')
|
x('python setup.py install')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user