Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit d59cc7b

Browse files
Denys Smirnovdennwc
authored andcommitted
rename the repository to python-client for consistency
Signed-off-by: Denys Smirnov <[email protected]>
1 parent c17d9cb commit d59cc7b

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ python:
1414
install:
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

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
44
connect 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
1313
pip3 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
2121
pip3 install -r requirements.txt
2222
python3 setup.py --getdeps
2323
python3 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).
3030
The command for Debian and derived distributions would be:
3131

3232
```bash

bblfsh/compat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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
33
v2) 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
77
Note that this won't translate the XPath queries from the old projection to the new use;
88
even when using this module you're expected to use expressions matching the new

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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}",
335335
author_email="[email protected]",
336-
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"],

0 commit comments

Comments
 (0)