fix: occasional nuget error (#653)
* Try some things to debug Travis failures * Perhaps there is a config file * Update .travis.yml * Update .travis.yml * Add -FallbackSource to nuget invocation * Update windows.py * Tidy things up
This commit is contained in:
@@ -44,7 +44,12 @@ def get_nuget_args(version: str, arch: str) -> List[str]:
|
|||||||
python_name = 'python' if version[0] == '3' else 'python2'
|
python_name = 'python' if version[0] == '3' else 'python2'
|
||||||
if arch == '32':
|
if arch == '32':
|
||||||
python_name += 'x86'
|
python_name += 'x86'
|
||||||
return [python_name, '-Version', version, '-OutputDirectory', 'C:\\cibw\\python']
|
return [
|
||||||
|
python_name,
|
||||||
|
'-Version', version,
|
||||||
|
'-FallbackSource', 'https://api.nuget.org/v3/index.json',
|
||||||
|
'-OutputDirectory', 'C:\\cibw\\python',
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
class PythonConfiguration(NamedTuple):
|
class PythonConfiguration(NamedTuple):
|
||||||
|
|||||||
Reference in New Issue
Block a user