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

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 54eb8a5  Include functions in pulsar-client Python package (#1893)
54eb8a5 is described below

commit 54eb8a54ef9d5d527e9aa663de117c2fa93ea9a3
Author: Matteo Merli <[email protected]>
AuthorDate: Mon Jun 4 15:12:56 2018 -0700

    Include functions in pulsar-client Python package (#1893)
    
    * Include functions in pulsar-client Python package
    
    * Fixed functions runtime python code copy
---
 pulsar-client-cpp/python/{pulsar.py => pulsar/__init__.py}  | 0
 pulsar-client-cpp/python/{ => pulsar}/functions/__init__.py | 0
 pulsar-client-cpp/python/{ => pulsar}/functions/context.py  | 0
 pulsar-client-cpp/python/{ => pulsar}/functions/function.py | 0
 pulsar-client-cpp/python/{ => pulsar}/functions/serde.py    | 0
 pulsar-functions/runtime/pom.xml                            | 5 ++---
 6 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/pulsar-client-cpp/python/pulsar.py 
b/pulsar-client-cpp/python/pulsar/__init__.py
similarity index 100%
rename from pulsar-client-cpp/python/pulsar.py
rename to pulsar-client-cpp/python/pulsar/__init__.py
diff --git a/pulsar-client-cpp/python/functions/__init__.py 
b/pulsar-client-cpp/python/pulsar/functions/__init__.py
similarity index 100%
rename from pulsar-client-cpp/python/functions/__init__.py
rename to pulsar-client-cpp/python/pulsar/functions/__init__.py
diff --git a/pulsar-client-cpp/python/functions/context.py 
b/pulsar-client-cpp/python/pulsar/functions/context.py
similarity index 100%
rename from pulsar-client-cpp/python/functions/context.py
rename to pulsar-client-cpp/python/pulsar/functions/context.py
diff --git a/pulsar-client-cpp/python/functions/function.py 
b/pulsar-client-cpp/python/pulsar/functions/function.py
similarity index 100%
rename from pulsar-client-cpp/python/functions/function.py
rename to pulsar-client-cpp/python/pulsar/functions/function.py
diff --git a/pulsar-client-cpp/python/functions/serde.py 
b/pulsar-client-cpp/python/pulsar/functions/serde.py
similarity index 100%
rename from pulsar-client-cpp/python/functions/serde.py
rename to pulsar-client-cpp/python/pulsar/functions/serde.py
diff --git a/pulsar-functions/runtime/pom.xml b/pulsar-functions/runtime/pom.xml
index 61af0ee..01f01d6 100644
--- a/pulsar-functions/runtime/pom.xml
+++ b/pulsar-functions/runtime/pom.xml
@@ -75,9 +75,8 @@
                 <echo>building python instance</echo>
                 <mkdir dir="${basedir}/target/python-instance"/>
                 <copydir src="${basedir}/../instance/src/main/python" 
dest="${basedir}/target/python-instance"/>
-                <copy 
file="${basedir}/../../pulsar-client-cpp/python/pulsar.py" 
tofile="${basedir}/target/python-instance/pulsar.py"/>
-                <mkdir dir="${basedir}/target/python-instance/functions"/>
-                <copydir 
src="${basedir}/../../pulsar-client-cpp/python/functions" 
dest="${basedir}/target/python-instance/functions"/>
+                <mkdir dir="${basedir}/target/python-instance/pulsar"/>
+                <copydir 
src="${basedir}/../../pulsar-client-cpp/python/pulsar" 
dest="${basedir}/target/python-instance/pulsar"/>
               </tasks>
             </configuration>
           </execution>

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to