-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move install_wheels script * git add continuous_integration/check_wheels.py * bump versions for numpy and scipy * update old requirements.txt * add file header * get rid of install_wheels.py hack * fixup: update travis.yml * Update continuous_integration/check_wheels.py Co-Authored-By: Radim Řehůřek <[email protected]> * Update continuous_integration/check_wheels.py Co-Authored-By: Radim Řehůřek <[email protected]> Co-authored-by: Radim Řehůřek <[email protected]>
- Loading branch information
Showing
6 changed files
with
39 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,5 +33,5 @@ matrix: | |
|
||
install: | ||
- pip install tox | ||
- python ci/install_wheels.py | ||
|
||
script: tox -vv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,6 @@ | ||
# Fetch numpy and scipy wheels from the sklearn rackspace wheelhouse. | ||
# Those wheels were collected from http://www.lfd.uci.edu/~gohlke/pythonlibs/ | ||
# This is a temporary solution. As soon as numpy and scipy provide official | ||
# wheel for windows we ca delete this --find-links line. | ||
--find-links http://28daf2247a33ed269873-7b1aad3fab3cc330e1fd9d109892382a.r6.cf2.rackcdn.com/ | ||
|
||
# fix the versions of numpy to force the use of numpy and scipy to use the whl | ||
# of the rackspace folder instead of trying to install from more recent | ||
# source tarball published on PyPI | ||
numpy==1.11.3 | ||
scipy==0.18.1 | ||
cython | ||
six >= 1.5.0 | ||
smart_open >= 1.2.1 | ||
nose | ||
wheel | ||
wheelhouse_uploader | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2019 RaRe Technologies s.r.o. | ||
# Licensed under the GNU LGPL v2.1 - http://www.gnu.org/licenses/lgpl.html | ||
"""Print available wheels for a particular Python package.""" | ||
import re | ||
import sys | ||
|
||
import requests | ||
|
||
def to_int(value): | ||
value = ''.join((x for x in value if x.isdigit())) | ||
try: | ||
return int(value) | ||
except Exception: | ||
return 0 | ||
|
||
|
||
def to_tuple(version): | ||
return tuple(to_int(x) for x in version.split('.')) | ||
|
||
|
||
def main(): | ||
project = sys.argv[1] | ||
json = requests.get('https://pypi.org/pypi/%s/json' % project).json() | ||
for version in sorted(json['releases'], key=to_tuple): | ||
print(version) | ||
wheel_packages = [ | ||
p for p in json['releases'][version] | ||
if p['packagetype'] == 'bdist_wheel' | ||
] | ||
for p in wheel_packages: | ||
print(' %(python_version)s %(filename)s' % p) | ||
|
||
|
||
if __name__ == '__main__': | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters