Thanks to visit codestin.com
Credit goes to github.com

Skip to content

compatiblity tweak for Neard users #501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions make.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,10 +553,13 @@ def _create_batch_scripts_initial(self):

self.create_batch_script('env.bat', r"""@echo off
set WINPYDIRBASE=%~dp0..

rem get a normalize path
CALL :NORMALIZEPATH "%WINPYDIRBASE%"
set WINPYDIRBASE=%RETVAL%
set RETVAL=
set WINPYDIRBASETMP=%~dp0..
pushd %WINPYDIRBASETMP%
set WINPYDIRBASE=%CD%
set WINPYDIRBASETMP=
popd

set WINPYDIR=%WINPYDIRBASE%"""+"\\" + self.python_name + r"""

Expand Down Expand Up @@ -609,16 +612,6 @@ def _create_batch_scripts_initial(self):
echo #WINPYWORKDIR = %%HOMEDRIVE%%%%HOMEPATH%%\Documents\WinPython%%WINPYVER%%\Notebooks>>"%winpython_ini%"
)

rem *****
rem http://stackoverflow.com/questions/1645843/resolve-absolute-path-from-relative-path-and-or-file-name
rem *****
:: ========== FUNCTIONS ==========
EXIT /B

:NORMALIZEPATH
SET RETVAL=%~dpfn1
EXIT /B

""")

self.create_batch_script('WinPython_PS_Prompt.ps1', r"""
Expand Down
6 changes: 6 additions & 0 deletions winpython/data/packages.ini
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,9 @@ description=D3 Viewer for Matplotlib
[mpmath]
description=Python library for arbitrary-precision floating-point arithmetic

[mypy]
description=Optional static typing for Python

[msgpack-python]
description=MessagePack (de)serializer.

Expand Down Expand Up @@ -1312,6 +1315,9 @@ description=An API and command-line toolset for Twitter (twitter.com)
[twython]
description=Actively maintained, pure Python wrapper for the Twitter API. Supports both normal and streaming Twitter APIs

[typed_ast]
description=a fork of Python 2 and 3 ast modules with type comment support

[uritemplate]
description=URI templates

Expand Down