From edbba1ce1ae0f261a058c319dfb43702f76c659f Mon Sep 17 00:00:00 2001 From: stonebig Date: Sun, 16 Oct 2016 15:07:28 +0200 Subject: [PATCH 1/2] package names --- winpython/data/packages.ini | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/winpython/data/packages.ini b/winpython/data/packages.ini index 2c744d66..726c0292 100644 --- a/winpython/data/packages.ini +++ b/winpython/data/packages.ini @@ -528,6 +528,9 @@ description=LaTeX-free PDF generation from Jupyter Notebooks [nbconvert] description=Converting Jupyter Notebooks +[nbconvert_reportlab] +description=Convert notebooks to PDF using Reportlab + [nbdime] description=Tools for diffing and merging of Jupyter notebooks @@ -628,6 +631,10 @@ description=A module wrapper for os.path description=Describing statistical models using symbolic formulas category=dataoric +[pdfrw] +description=pure Python library that reads and writes PDFs + + [peewee] description=a small, expressive ORM. From b3dd036748a3474fb69e7432c87c6ba7c6fd8ca4 Mon Sep 17 00:00:00 2001 From: stonebig Date: Sun, 16 Oct 2016 15:10:14 +0200 Subject: [PATCH 2/2] Fix for WinPython-3.6.0.0 --- make.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/make.py b/make.py index d2243254..1c2a0106 100644 --- a/make.py +++ b/make.py @@ -389,9 +389,14 @@ def _extract_python(self): os.mkdir(self.python_dir) if self.python_fname[-3:] == 'zip': # Python3.5 utils.extract_archive(self.python_fname, targetdir=self.python_dir+r'\..') - # new Python 3.5 trick (https://bugs.python.org/issue23955) - pyvenv_file = osp.join(self.python_dir, 'pyvenv.cfg') - open(pyvenv_file, 'w').write('applocal=True\n') + if self.winpyver < "3.6": + # new Python 3.5 trick (https://bugs.python.org/issue23955) + pyvenv_file = osp.join(self.python_dir, 'pyvenv.cfg') + open(pyvenv_file, 'w').write('applocal=True\n') + else: + # new Python 3.6 trick (https://docs.python.org/3.6/using/windows.html#finding-modules) + pypath_file = osp.join(self.python_dir, 'python._pth') + open(pypath_file, 'w').write('.\nLib\nimport site\nDLLs\n#Lib/site-packages\n#python36.zip\n') else: utils.extract_msi(self.python_fname, targetdir=self.python_dir) os.remove(osp.join(self.python_dir, osp.basename(self.python_fname)))