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

Skip to content

new tools and package names #584

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 1 commit into from
Dec 31, 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
2 changes: 2 additions & 0 deletions make.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def get_tool_path(relpath, checkfunc):
if nodepath is not None:
nodever = utils.get_nodejs_version(nodepath)
installed_tools += [('Nodejs', nodever)]
npmver = utils.get_npmjs_version(nodepath)
installed_tools += [('npmjs', npmver)]

pandocexe = get_tool_path (r'\tools\pandoc.exe', osp.isfile)
if pandocexe is not None:
Expand Down
2 changes: 1 addition & 1 deletion winpython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
OTHER DEALINGS IN THE SOFTWARE.
"""

__version__ = '1.9.20171031'
__version__ = '1.9.20171230'
__license__ = __doc__
__project_url__ = 'http://winpython.github.io/'
18 changes: 15 additions & 3 deletions winpython/data/packages.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ description=tools for machine learning and data mining in Astronomy
description=Community-developed python astronomy tools

[attrs]
description=Attributes without boilerplate.
description=Classes Without Boilerplate

[babel]
description=Internationalization utilities
Expand Down Expand Up @@ -196,6 +196,9 @@ description=Code coverage measurement for Python
[cryptography]
description=cryptography is a package which provides cryptographic recipes and primitives to Python developers

[cupy]
description=NumPy-like API accelerated with CUD

[cvxcanon]
description=common operations for convex optimization modeling tools.

Expand Down Expand Up @@ -305,6 +308,9 @@ description=A python package that provides useful locks.
[fastparquet]
description=Python support for Parquet file format

[fastrlock]
description=A fast RLock implementation for CPython

[fast-histogram]
description=Fast 1D and 2D histogram functions in Python

Expand All @@ -329,6 +335,9 @@ description=SeaSurf is a Flask extension for preventing cross-site request forge
[flexx]
description=Pure Python toolkit for creating GUI's using web technology.

[flit]
description=Simplified packaging of Python modules

[fonttools]
description=Tools to manipulate font files

Expand Down Expand Up @@ -433,8 +442,8 @@ description=General-purpose Python interface to HDF5 files (unlike PyTables, h5p
[ibis-framework]
description=Productivity-centric Python Big Data Framework

[ipykernel]
description=IPython Kernel for Jupyter
[ipydatawidgets]
description=A set of widgets to help facilitate reuse of large datasets across widgets

[idlex]
description=IDLE Extensions for Python
Expand Down Expand Up @@ -864,6 +873,9 @@ description=A grammar of graphics for python
[plotpy]
description=plotpy is a set of tools for curve and image plotting

[pluggy]
description=plugin and hook calling mechanisms for python

[ply]
description=Python Lex & Yacc

Expand Down
8 changes: 8 additions & 0 deletions winpython/data/tools.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ url=http://winmerge.org
description=a JavaScript runtime built on Chrome's V8 JavaScript engine
url=https://nodejs.org

[npmjs]
description=a package manager for JavaScript
url=https://www.npmjs.com/

[yarnpkg]
description=a package manager for JavaScriptFast, reliable, and secure dependency management
url=https://yarnpkg.com/lang/en/

[ffmpeg]
description=a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata
url=https://ffmpeg.org
4 changes: 4 additions & 0 deletions winpython/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ def get_nodejs_version(path):
"""Return version of the Nodejs installed in *path*"""
return exec_shell_cmd('node -v', path).splitlines()[0]

def get_npmjs_version(path):
"""Return version of the Nodejs installed in *path*"""
return exec_shell_cmd('npm -v', path).splitlines()[0]

def get_thg_version(path):
"""Return version of TortoiseHg installed in *path*"""
txt = exec_shell_cmd('thg version', path).splitlines()[0]
Expand Down