1# Copyright 2019 Espressif Systems (Shanghai) PTE LTD
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     http:#www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15import os
16
17from setuptools import setup
18
19setup(name='esp-windows-curses',
20      version='0.1',
21      description='Wrapper for the windows-curses package',
22      url='https://www.espressif.com',
23      author='Espressif Systems',
24      license='Apache License 2.0',
25      author_email='donotreply@espressif.com',
26      zip_safe=False,
27      # This wrapper exists only because of the following install_requires statement which ensures that the package
28      # dependency is not added for MSYS2 where it cannot be installed. There is no PEP 508 environment marker to
29      # detect MSYS2.
30      install_requires=('' if 'MSYSTEM' in os.environ else 'windows-curses; sys_platform == "win32"',)
31      )
32