import os
from setuptools import setup
from sys import platform


REQUIREMENTS = []

if platform.startswith('darwin'):
    REQUIREMENTS.append('pyobjc-core >= 2.5')


with open(os.path.join(os.path.dirname(__file__), 'nativeconfig', 'version.py')) as f:
    version = None
    code = compile(f.read(), 'version.py', 'exec')
    exec(code)
    assert version


setup(
    name='nativeconfig',
    version=version,
    packages=['nativeconfig'],
    url='https://github.com/GreatFruitOmsk/nativeconfig',
    license='MIT License',
    author='Ilya Kulakov',
    author_email='kulakov.ilya@gmail.com',
    description="Cross-platform python module to store application config via native subsystems such as Windows Registry or NSUserDefaults.",
    platforms=["Mac OS X 10.6+", "Windows XP+", "Linux 2.6+"],
    keywords='config',
    classifiers=[
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
    ],
    install_requires=REQUIREMENTS,
    test_suite='test'
)

import os
from setuptools import setup
from sys import platform


REQUIREMENTS = []

if platform.startswith('darwin'):
    REQUIREMENTS.append('pyobjc-core >= 2.5')


with open(os.path.join(os.path.dirname(__file__), 'nativeconfig', 'version.py')) as f:
    version = None
    code = compile(f.read(), 'version.py', 'exec')
    exec(code)
    assert version


setup(
    name='nativeconfig',
    version=version,
    packages=['nativeconfig', 'nativeconfig.options', 'nativeconfig.config'],
    url='https://github.com/GreatFruitOmsk/nativeconfig',
    license='MIT License',
    author='Ilya Kulakov',
    author_email='kulakov.ilya@gmail.com',
    description="Cross-platform python module to store application config via native subsystems such as Windows Registry or NSUserDefaults.",
    platforms=["Mac OS X 10.6+", "Windows XP+", "Linux 2.6+"],
    keywords='config',
    classifiers=[
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
    ],
    install_requires=REQUIREMENTS,
    test_suite='test'
)

Add subdirs of nativeconfig package to build.
Add subdirs of nativeconfig package to build.
