This repository was archived by the owner on Mar 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ python:
1414install :
1515 - docker run --privileged -d -p 9432:9432 --name bblfshd bblfsh/bblfshd:$BBLFSHD_VERSION
1616 - docker exec bblfshd bblfshctl driver install bblfsh/python-driver:$BBLFSH_PYTHON_VERSION
17- - wget https://github.com/bblfsh/client- python/releases/download/v2.2.1/protobuf-python_3.4.1-1_amd64.deb
17+ - wget https://github.com/bblfsh/python-client /releases/download/v2.2.1/protobuf-python_3.4.1-1_amd64.deb
1818 - sudo dpkg -i protobuf-python_3.4.1-1_amd64.deb
1919 - if [[ ! -z "$TRAVIS_TAG" ]]; then sed -i -e "s/^VERSION\s*=\s*\"[^\"]\+\"/VERSION = \"${TRAVIS_TAG#v}\"/g" setup.py; fi
2020 - pip3 install --upgrade pip
Original file line number Diff line number Diff line change 1- ## client- python [ ![ Build Status] ( https://travis-ci.org /bblfsh/client- python.svg?branch=master )] ( https://travis-ci.org /bblfsh/client- python ) [ ![ PyPI] ( https://img.shields.io/pypi/v/bblfsh.svg )] ( https://pypi.python.org/pypi/bblfsh )
1+ ## python-client [ ![ Build Status] ( https://travis-ci.com /bblfsh/python-client .svg?branch=master )] ( https://travis-ci.com /bblfsh/python-client ) [ ![ PyPI] ( https://img.shields.io/pypi/v/bblfsh.svg )] ( https://pypi.python.org/pypi/bblfsh )
22
33[ Babelfish] ( https://doc.bblf.sh ) Python client library provides functionality to both
44connect to the Babelfish daemon (` bblfshd ` ) to parse code
@@ -7,7 +7,7 @@ and to analyse UASTs with the functionality provided by [libuast](https://github
77
88## Installation
99
10- The recommended way to install * client- python* is using our pip [ package] ( https://pypi.python.org/pypi/bblfsh ) :
10+ The recommended way to install * python-client * is using our pip [ package] ( https://pypi.python.org/pypi/bblfsh ) :
1111
1212``` sh
1313pip3 install bblfsh
@@ -16,8 +16,8 @@ pip3 install bblfsh
1616### From sources
1717
1818``` bash
19- git clone https://github.com/bblfsh/client- python.git
20- cd client- python
19+ git clone https://github.com/bblfsh/python-client .git
20+ cd python-client
2121pip3 install -r requirements.txt
2222python3 setup.py --getdeps
2323python3 setup.py install
@@ -26,7 +26,7 @@ python3 setup.py install
2626
2727### Dependencies
2828
29- You also will need a ` curl ` cli tool to dowload ` libuast ` , and a ` g++ ` for building [ libuast Python bindings] ( https://github.com/bblfsh/client- python/blob/0037d762563ab49b3daac8a7577f7103a5628fc6 /setup.py#L17 ) .
29+ You also will need a ` curl ` cli tool to dowload ` libuast ` , and a ` g++ ` for building [ libuast Python bindings] ( https://github.com/bblfsh/python-client /blob/c17d9cb6cd3e55ad150bd1d62a1de2e228d7db04 /setup.py#L26 ) .
3030The command for Debian and derived distributions would be:
3131
3232``` bash
Original file line number Diff line number Diff line change 11"""
2- This file provides a compatibility layer with the old UAST V1 (or client- python
2+ This file provides a compatibility layer with the old UAST V1 (or python-client
33v2) API. You can see a summary of that API here:
44
5- https://github.com/bblfsh/client- python/blob/d485273f457a174b40b820ad71195a739db04197 /README.md
5+ https://github.com/bblfsh/python-client /blob/c17d9cb6cd3e55ad150bd1d62a1de2e228d7db04 /README.md
66
77Note that this won't translate the XPath queries from the old projection to the new use;
88even when using this module you're expected to use expressions matching the new
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ def get_libuast_arch():
135135 """Return the os-arch tag to use when fetching libuast.
136136 """
137137
138- # See https://github.com/bblfsh/client- python/issues/156.
138+ # See https://github.com/bblfsh/python-client /issues/156.
139139 if sys .platform == 'win32' :
140140 return 'windows-amd64'
141141 elif sys .platform :
@@ -333,8 +333,8 @@ def main():
333333 license = "Apache 2.0" ,
334334 author = "source{d}" ,
335335336- url = "https://github.com/bblfsh/client- python" ,
337- download_url = "https://github.com/bblfsh/client- python" ,
336+ url = "https://github.com/bblfsh/python-client " ,
337+ download_url = "https://github.com/bblfsh/python-client " ,
338338 packages = find_packages (),
339339 exclude = ["bblfsh/test.py" ],
340340 keywords = ["babelfish" , "uast" ],
You can’t perform that action at this time.
0 commit comments