You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/11/03 19:49:03 UTC

[iotdb] 03/05: move pypi files from thrift to client-py

This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch fix_pypi
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 8f0e52daccdc746c54061bde6b67ff3d05912d5a
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Wed Nov 4 03:29:48 2020 +0800

    move pypi files from thrift to client-py
---
 thrift/pom.xml            | 55 ---------------------------------------
 thrift/src/pypi/README.md | 65 -----------------------------------------------
 thrift/src/pypi/setup.py  | 55 ---------------------------------------
 3 files changed, 175 deletions(-)

diff --git a/thrift/pom.xml b/thrift/pom.xml
index 5444971..55cd184 100644
--- a/thrift/pom.xml
+++ b/thrift/pom.xml
@@ -96,59 +96,4 @@
             </plugin>
         </plugins>
     </build>
-    <profiles>
-        <profile>
-            <id>only-eclipse</id>
-            <activation>
-                <property>
-                    <name>m2e.version</name>
-                </property>
-            </activation>
-            <build>
-                <pluginManagement>
-                    <plugins>
-                        <plugin>
-                            <groupId>org.eclipse.m2e</groupId>
-                            <artifactId>lifecycle-mapping</artifactId>
-                            <version>1.0.0</version>
-                            <configuration>
-                                <lifecycleMappingMetadata>
-                                    <pluginExecutions>
-                                        <pluginExecution>
-                                            <pluginExecutionFilter>
-                                                <groupId>org.apache.maven.plugins</groupId>
-                                                <artifactId>maven-dependency-plugin</artifactId>
-                                                <versionRange>${maven-dependency-plugin.version}</versionRange>
-                                                <goals>
-                                                    <goal>copy-dependencies</goal>
-                                                </goals>
-                                            </pluginExecutionFilter>
-                                            <action>
-                                                <ignore/>
-                                            </action>
-                                        </pluginExecution>
-                                        <pluginExecution>
-                                            <pluginExecutionFilter>
-                                                <groupId>org.apache.thrift.tools</groupId>
-                                                <artifactId>maven-thrift-plugin</artifactId>
-                                                <versionRange>[0.1.10,)</versionRange>
-                                                <goals>
-                                                    <goal>compile</goal>
-                                                </goals>
-                                            </pluginExecutionFilter>
-                                            <action>
-                                                <execute>
-                                                    <runOnIncremental>false</runOnIncremental>
-                                                </execute>
-                                            </action>
-                                        </pluginExecution>
-                                    </pluginExecutions>
-                                </lifecycleMappingMetadata>
-                            </configuration>
-                        </plugin>
-                    </plugins>
-                </pluginManagement>
-            </build>
-        </profile>
-    </profiles>
 </project>
diff --git a/thrift/src/pypi/README.md b/thrift/src/pypi/README.md
deleted file mode 100644
index 710fc76..0000000
--- a/thrift/src/pypi/README.md
+++ /dev/null
@@ -1,65 +0,0 @@
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
--->
-
-# Apache IoTDB
-
-[![Build Status](https://www.travis-ci.org/apache/incubator-iotdb.svg?branch=master)](https://www.travis-ci.org/apache/incubator-iotdb)
-[![codecov](https://codecov.io/gh/thulab/incubator-iotdb/branch/master/graph/badge.svg)](https://codecov.io/gh/thulab/incubator-iotdb)
-[![GitHub release](https://img.shields.io/github/release/apache/incubator-iotdb.svg)](https://github.com/apache/incubator-iotdb/releases)
-[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
-![](https://github-size-badge.herokuapp.com/apache/incubator-iotdb.svg)
-![](https://img.shields.io/github/downloads/apache/incubator-iotdb/total.svg)
-![](https://img.shields.io/badge/platform-win10%20%7C%20macox%20%7C%20linux-yellow.svg)
-![](https://img.shields.io/badge/java--language-1.8-blue.svg)
-[![IoTDB Website](https://img.shields.io/website-up-down-green-red/https/shields.io.svg?label=iotdb-website)](https://iotdb.apache.org/)
-
-
-Apache IoTDB (incubating) (Database for Internet of Things) is an integrated data management engine designed for
-timeseries data. It provides users with services for data collection, storage and analysis. Due to its light-weight
-architecture, high performance and rich feature set together with its deep integration with Apache Hadoop and Spark,
-Apache IoTDB (incubating) can meet the requirements of massive data storage, high-speed data ingestion and complex data
-analysis in the IoT industrial fields.
-
-
-# Apache IoTDB Python Client API
-
-Using the package, you can write data to IoTDB, read data from IoTDB and maintain the schema of IoTDB.
-
-## Requirements
-
-You have to install thrift (>=0.13) before using the package.
-
-## How to use (Example)
-
-First, download the package: `pip3 install apache-iotdb`
-
-You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/incubator-iotdb/blob/rel/0.10/client-py/src/SessionExample.py)
-
-(you need to add `import iotdb` in the head of the file)
-
-# DISCLAIMER
-
-Apache IoTDB is an effort undergoing incubation at The Apache Software Foundation (ASF).
-Incubation is required of all newly accepted projects until a further review indicates that the
-infrastructure, communications, and decision making process have stabilized in a manner consistent
-with other successful ASF projects. While incubation status is not necessarily a reflection of the
-completeness or stability of the code, it does indicate that the project has yet to be fully
-endorsed by the ASF.
\ No newline at end of file
diff --git a/thrift/src/pypi/setup.py b/thrift/src/pypi/setup.py
deleted file mode 100644
index 1223ff9..0000000
--- a/thrift/src/pypi/setup.py
+++ /dev/null
@@ -1,55 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-#
-
-import setuptools
-import io
-
-
-try:
-    with io.open('README.md', encoding='utf-8') as f:
-        long_description = f.read()
-except FileNotFoundError:
-    long_description = ''
-
-
-print(long_description)
-
-setuptools.setup(
-    name="apache-iotdb", # Replace with your own username
-    version="0.11.0",
-    author=" Apache Software Foundation",
-    author_email="dev@iotdb.apache.org",
-    description="Apache IoTDB client API",
-    long_description=long_description,
-    long_description_content_type="text/markdown",
-    url="https://github.com/apache/incubator-iotdb",
-    packages=setuptools.find_packages(),
-    install_requires=[
-              'thrift>=0.13.0',
-          ],
-    classifiers=[
-        "Programming Language :: Python :: 3",
-        "License :: OSI Approved :: Apache Software License",
-        "Operating System :: OS Independent",
-        "Topic :: Software Development :: Libraries",
-        "Topic :: Software Development :: Libraries :: Python Modules",
-    ],
-    python_requires='>=3.7',
-    license='Apache License, Version 2.0',
-    website='https://iotdb.apache.org',
-)