You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To download wheel from pypi: https://pypi.org/project/tsfile/#files
37
+
2. Dependencies:
61
38
39
+
* numpy >= 1.26.4
40
+
* pandas >= 2.2.2
62
41
63
-
64
-
### Compile on your local envirment
65
-
Clone the source code from git:
42
+
3. Use pip to install the latest version from pypi:
66
43
67
44
```shell
68
-
git clone https://github.com/apache/tsfile.git
45
+
pip install tsfile
69
46
```
70
-
Run Maven to compile in the TsFile root directory:
71
47
72
-
```shell
73
-
mvn clean install -P with-python -DskipTests
48
+
### Install From Wheel File
49
+
50
+
1. Download wheel from pypi: https://pypi.org/project/tsfile/#files
51
+
2. Install the wheel file using the pip install command.
52
+
```bash
53
+
pip install tsfile.wheel
74
54
```
75
55
76
-
If Maven is not installed, you can compile tsfile using the following command:
56
+
### Install From Source Code Compilation
57
+
1. Dependencies
77
58
78
-
Linux or Macos:
79
-
```shell
80
-
mvnw clean install -P with-python -DskipTests
81
-
```
82
-
Windows:
83
-
```shell
84
-
mvnw.cmd clean install -P with-python -DskipTests
85
-
```
59
+
- CMake >=3.11
60
+
- Maven >=3.9.6
61
+
- GCC >=4.8.5
62
+
- Make >=4.3
63
+
- cython >= 3.0.10
64
+
- numpy >= 1.26.4
65
+
- pandas >= 2.2.2
66
+
- setuptools >= 70.0.0
86
67
87
-
### Directory Structure
68
+
2. Installation steps
88
69
89
-
• **wheel**: Located at `tsfile/python/dist`, you can use pip to install this wheel.
70
+
* Clone the source code from git:
90
71
91
-
### Install into your local envirment
72
+
```shell
73
+
git clone https://github.com/apache/tsfile.git
74
+
```
75
+
* Run Maven to compile in the TsFile root directory:
92
76
93
-
run `pip install` to install tsfile package you already compiled(Assuming the compilation produces tsfile.wheel.).
77
+
```shell
78
+
mvn clean install -P with-python -DskipTests
79
+
```
94
80
81
+
* If Maven is not installed, you can compile tsfile using the following command:
82
+
83
+
* Linux or Macos:
84
+
```shell
85
+
mvnw clean install -P with-python -DskipTests
86
+
```
87
+
* Windows:
88
+
```shell
89
+
mvnw.cmd clean install -P with-python -DskipTests
90
+
```
91
+
* After successful compilation, the wheel file will be located in the `tsfile/python/dist` directory and can be installed locally using the pip install command (assuming its name is `tsfile.wheel`).
95
92
```bash
96
93
pip install tsfile.wheel
97
94
```
@@ -148,7 +145,7 @@ with TsFileReader(table_data_dir) as reader:
To download wheel from pypi: https://pypi.org/project/tsfile/#files
37
+
2. Dependencies:
61
38
39
+
* numpy >= 1.26.4
40
+
* pandas >= 2.2.2
62
41
63
-
64
-
### Compile on your local envirment
65
-
Clone the source code from git:
42
+
3. Use pip to install the latest version from pypi:
66
43
67
44
```shell
68
-
git clone https://github.com/apache/tsfile.git
45
+
pip install tsfile
69
46
```
70
-
Run Maven to compile in the TsFile root directory:
71
47
72
-
```shell
73
-
mvn clean install -P with-python -DskipTests
48
+
### Install From Wheel File
49
+
50
+
1. Download wheel from pypi: https://pypi.org/project/tsfile/#files
51
+
2. Install the wheel file using the pip install command.
52
+
```bash
53
+
pip install tsfile.wheel
74
54
```
75
55
76
-
If Maven is not installed, you can compile tsfile using the following command:
56
+
### Install From Source Code Compilation
57
+
1. Dependencies
77
58
78
-
Linux or Macos:
79
-
```shell
80
-
mvnw clean install -P with-python -DskipTests
81
-
```
82
-
Windows:
83
-
```shell
84
-
mvnw.cmd clean install -P with-python -DskipTests
85
-
```
59
+
- CMake >=3.11
60
+
- Maven >=3.9.6
61
+
- GCC >=4.8.5
62
+
- Make >=4.3
63
+
- cython >= 3.0.10
64
+
- numpy >= 1.26.4
65
+
- pandas >= 2.2.2
66
+
- setuptools >= 70.0.0
86
67
87
-
### Directory Structure
68
+
2. Installation steps
88
69
89
-
• **wheel**: Located at `tsfile/python/dist`, you can use pip to install this wheel.
70
+
* Clone the source code from git:
90
71
91
-
### Install into your local envirment
72
+
```shell
73
+
git clone https://github.com/apache/tsfile.git
74
+
```
75
+
* Run Maven to compile in the TsFile root directory:
92
76
93
-
run `pip install` to install tsfile package you already compiled(Assuming the compilation produces tsfile.wheel.).
77
+
```shell
78
+
mvn clean install -P with-python -DskipTests
79
+
```
94
80
81
+
* If Maven is not installed, you can compile tsfile using the following command:
82
+
83
+
* Linux or Macos:
84
+
```shell
85
+
mvnw clean install -P with-python -DskipTests
86
+
```
87
+
* Windows:
88
+
```shell
89
+
mvnw.cmd clean install -P with-python -DskipTests
90
+
```
91
+
* After successful compilation, the wheel file will be located in the `tsfile/python/dist` directory and can be installed locally using the pip install command (assuming its name is `tsfile.wheel`).
0 commit comments