anaconda / nb_conda

Conda environment and package access extension from within Jupyter
BSD 3-Clause "New" or "Revised" License
140 stars 32 forks source link

Explicit build scripts #9

Closed bollwyvl closed 8 years ago

bollwyvl commented 8 years ago

This is an attempt at #8... well, it builds locally.

bollwyvl commented 8 years ago
bollwyvl commented 8 years ago

I don't know how I had missed run_test.py, but that is probably the way of justice... if that test runs properly, we should probably use that approach wherever possible... on nbpresent, though, there would be a bunch of subprocess nonsense, so i'll keep the bat/sh files.

damianavila commented 8 years ago

@bollwyvl just the .exe-related comment... I tried win32/27 and linux32/27

Hopefully the linux one will be solved this week with the new Repo release

@bollwyvl about the win one, did you reported it somewhere?

4An unexpected error has occurred, please consider sending the
375following traceback to the conda GitHub issue tracker at:
376
377    https://github.com/conda/conda-build/issues
378
379Include the output of the command 'conda info' in your report.
380
381
382Traceback (most recent call last):
383  File "C:\Users\binstar\Miniconda\Scripts\conda-build-script.py", line 4, in <module>
384    sys.exit(main())
385  File "C:\Users\binstar\Miniconda\lib\site-packages\conda_build\main_build.py", line 190, in main
386    args_func(args, p)
387  File "C:\Users\binstar\Miniconda\lib\site-packages\conda_build\main_build.py", line 468, in args_func
388    args.func(args, p)
389  File "C:\Users\binstar\Miniconda\lib\site-packages\conda_build\main_build.py", line 455, in execute
390    channel_urls=channel_urls, override_channels=args.override_channels)
391  File "C:\Users\binstar\Miniconda\lib\site-packages\conda_build\build.py", line 540, in test
392    channel_urls=channel_urls, override_channels=override_channels)
393  File "C:\Users\binstar\Miniconda\lib\site-packages\conda_build\build.py", line 285, in create_env
394    plan.execute_actions(actions, index, verbose=verbose)
395  File "C:\Users\binstar\Miniconda\lib\site-packages\conda\plan.py", line 537, in execute_actions
396    inst.execute_instructions(plan, index, verbose)
397  File "C:\Users\binstar\Miniconda\lib\site-packages\conda\instructions.py", line 148, in execute_instructions
398    cmd(state, arg)
399  File "C:\Users\binstar\Miniconda\lib\site-packages\conda\instructions.py", line 62, in EXTRACT_CMD
400    install.extract(config.pkgs_dirs[0], arg)
401  File "C:\Users\binstar\Miniconda\lib\site-packages\conda\install.py", line 484, in extract
402    t.extractall(path=path)
403  File "C:\Users\binstar\Miniconda\lib\tarfile.py", line 2078, in extractall
404    self.extract(tarinfo, path)
405  File "C:\Users\binstar\Miniconda\lib\tarfile.py", line 2115, in extract
406    self._extract_member(tarinfo, os.path.join(path, tarinfo.name))
407  File "C:\Users\binstar\Miniconda\lib\tarfile.py", line 2191, in _extract_member
408    self.makefile(tarinfo, targetpath)
409  File "C:\Users\binstar\Miniconda\lib\tarfile.py", line 2231, in makefile
410    with bltn_open(targetpath, "wb") as target:
411IOError: [Errno 13] Permission denied: u'C:\\Users\\binstar\\Miniconda\\pkgs\\markupsafe-0.23-py27_0\\Lib\\site-packages\\markupsafe\\_speedups.pyd'
damianavila commented 8 years ago

Merging this one, I will fix the exe and enable the matrix in another PR