Skip to content

Commit

Permalink
first proposal for pypa#16
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiEcker committed Aug 27, 2020
1 parent df7530e commit 368a8e3
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
15 changes: 15 additions & 0 deletions native/pkg_c/example_pkg/c.py
Original file line number Diff line number Diff line change
@@ -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'
35 changes: 35 additions & 0 deletions native/pkg_c/setup.py
Original file line number Diff line number Diff line change
@@ -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,
)

0 comments on commit 368a8e3

Please sign in to comment.