Skip to content

Commit d696d84

Browse files
committed
add MacOS and update for PyPI
1 parent 03b821c commit d696d84

File tree

1 file changed

+31
-13
lines changed

1 file changed

+31
-13
lines changed

README.rst

+31-13
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,47 @@ This is Python Client Library for GridDB.
88
Installation
99
=========================
1010

11-
Package dependencies
11+
1. Package dependencies
12+
-------------------------
1213

13-
* GridDB C Client
14+
GridDB C Client
15+
^^^^^^^^^^^^^^^^^^^^^^^^^
1416

15-
Download and install RPM or DEB package in GridDB C Client (https://github.com/griddb/c_client/releases).
17+
* **On Linux**
1618

17-
Install RPM package by this command:
19+
Download and install RPM or DEB package in GridDB C Client (https://github.com/griddb/c_client/releases).
1820

19-
$ sudo yum localinstall package_name.rpm
21+
Install RPM package by this command::
2022

21-
Install DEB package by this command:
23+
$ sudo yum localinstall package_name.rpm
2224

23-
$ sudo dpkg -i package_name.deb
25+
Install DEB package by this command::
2426

25-
* Pandas and Numpy
27+
$ sudo dpkg -i package_name.deb
2628

27-
Install Pandas and Numpy by these commands:
29+
* **On MacOS**
2830

29-
$ python -m pip install numpy
31+
Because GridDB Python Client already included C Client Library, so don't need install GridDB C Client on MacOS.
3032

31-
$ python -m pip install pandas
33+
GridDB C Client Libraries installed at *path/to/python/sites-package/*
3234

33-
Install the package by the following:
35+
GridDB C Client licenses and header installed at *path/to/python/sites-package/griddb/griddb-c-client*
3436

35-
$ pip install griddb_python
37+
Example::
3638

39+
~/.pyenv/versions/3.6.9/lib/python3.6/site-packages/griddb/
40+
41+
Pandas and Numpy
42+
^^^^^^^^^^^^^^^^^^^^^^^^^
43+
44+
* Install Pandas and Numpy by these commands::
45+
46+
$ python -m pip install numpy
47+
$ python -m pip install pandas
48+
49+
2. Install griddb_python
50+
-------------------------
51+
52+
Install the griddb_python by this command::
53+
54+
$ python -m pip install griddb_python

0 commit comments

Comments
 (0)