From 368a8e3c35fce718260d36ec41a8307cd26fcabe Mon Sep 17 00:00:00 2001 From: AndiEcker Date: Thu, 27 Aug 2020 14:15:13 +0100 Subject: [PATCH] first proposal for #16 --- native/pkg_c/example_pkg/c.py | 15 +++++++++++++++ native/pkg_c/setup.py | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 native/pkg_c/example_pkg/c.py create mode 100644 native/pkg_c/setup.py diff --git a/native/pkg_c/example_pkg/c.py b/native/pkg_c/example_pkg/c.py new file mode 100644 index 0000000..4db4ead --- /dev/null +++ b/native/pkg_c/example_pkg/c.py @@ -0,0 +1,15 @@ +# Copyright 2017 Google Inc. +# +# Licensed 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. + +name = 'c' diff --git a/native/pkg_c/setup.py b/native/pkg_c/setup.py new file mode 100644 index 0000000..7a0909b --- /dev/null +++ b/native/pkg_c/setup.py @@ -0,0 +1,35 @@ +""" +# Copyright 2017 Google Inc. +# +# Licensed 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. +""" + +from setuptools import setup + + +setup( + name='example_pkg_c', + + version='1', + + description='', + long_description='', + + author='Andi Ecker', + author_email='aecker2@google.com', + + license='Apache Software License', + + packages=['example_pkg.c'], # NOTE: had to use ['example_pkg'] instead of ['example_pkg.c'] to properly build + zip_safe=False, +)