فهرست منبع

fix(sdk): setup and package problems

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
Jiyong Huang 3 سال پیش
والد
کامیت
724b246474
2فایلهای تغییر یافته به همراه10 افزوده شده و 3 حذف شده
  1. 6 0
      sdk/python/ekuiper/runtime/__init__.py
  2. 4 3
      sdk/python/setup.py

+ 6 - 0
sdk/python/ekuiper/runtime/__init__.py

@@ -0,0 +1,6 @@
+#
+#  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.

+ 4 - 3
sdk/python/setup.py

@@ -1,12 +1,13 @@
-from setuptools import setup
+from setuptools import setup, find_packages
 
 setup(
     name='ekuiper',
     version='0.0.1',
-    packages=['ekuiper'],
+    packages=find_packages(),
     url='https://github.com/lf-edge/ekuiper',
     license='Apache License 2.0',
     author='LF Edge eKuiper team',
     author_email='huangjy@emqx.io',
-    description='Python SDK for eKuiper portable plugin'
+    description='Python SDK for eKuiper portable plugin',
+    install_requires=["pynng"],
 )