File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -389,9 +389,14 @@ def _extract_python(self):
389
389
os .mkdir (self .python_dir )
390
390
if self .python_fname [- 3 :] == 'zip' : # Python3.5
391
391
utils .extract_archive (self .python_fname , targetdir = self .python_dir + r'\..' )
392
- # new Python 3.5 trick (https://bugs.python.org/issue23955)
393
- pyvenv_file = osp .join (self .python_dir , 'pyvenv.cfg' )
394
- open (pyvenv_file , 'w' ).write ('applocal=True\n ' )
392
+ if self .winpyver < "3.6" :
393
+ # new Python 3.5 trick (https://bugs.python.org/issue23955)
394
+ pyvenv_file = osp .join (self .python_dir , 'pyvenv.cfg' )
395
+ open (pyvenv_file , 'w' ).write ('applocal=True\n ' )
396
+ else :
397
+ # new Python 3.6 trick (https://docs.python.org/3.6/using/windows.html#finding-modules)
398
+ pypath_file = osp .join (self .python_dir , 'python._pth' )
399
+ open (pypath_file , 'w' ).write ('.\n Lib\n import site\n DLLs\n #Lib/site-packages\n #python36.zip\n ' )
395
400
else :
396
401
utils .extract_msi (self .python_fname , targetdir = self .python_dir )
397
402
os .remove (osp .join (self .python_dir , osp .basename (self .python_fname )))
Original file line number Diff line number Diff line change @@ -528,6 +528,9 @@ description=LaTeX-free PDF generation from Jupyter Notebooks
528
528
[nbconvert]
529
529
description=Converting Jupyter Notebooks
530
530
531
+ [nbconvert_reportlab]
532
+ description=Convert notebooks to PDF using Reportlab
533
+
531
534
[nbdime]
532
535
description=Tools for diffing and merging of Jupyter notebooks
533
536
@@ -628,6 +631,10 @@ description=A module wrapper for os.path
628
631
description=Describing statistical models using symbolic formulas
629
632
category=dataoric
630
633
634
+ [pdfrw]
635
+ description=pure Python library that reads and writes PDFs
636
+
637
+
631
638
[peewee]
632
639
description=a small, expressive ORM.
633
640
You can’t perform that action at this time.
0 commit comments