import sys, os
from setuptools import setup, find_packages

with open("README.md", "r") as fh:
    long_description = fh.read()

version = {}
with open("wingstructure/version.py") as fp:
    exec(fp.read(), version)

setup(name='wingstructure',
    version=version['__version__'],
    description='A library for structure calculations in airplane wings',
    url='https://github.com/akafliegdarmstadt/wingstructure',
    author='helo',
    author_email='kontakt@akaflieg.tu-darmstadt.de',
    long_description=long_description,
    long_description_content_type="text/markdown",
    license='MIT',
    packages=['wingstructure', 
              'wingstructure.data', 
              'wingstructure.aero',
              'wingstructure.structure'],
    install_requires= [
        'numpy',
        'scipy',
        'pandas',
        'sortedcontainers',
        'matplotlib',
        'pytest',
        'strictyaml',
        'Shapely',
        'ipython',
        'pandas'
    ],
    zip_safe=False,
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Topic :: Scientific/Engineering",
    ],
)

import sys, os
from setuptools import setup, find_packages

with open("README.md", "r") as fh:
    long_description = fh.read()

version = {}
with open("wingstructure/version.py") as fp:
    exec(fp.read(), version)

setup(name='wingstructure',
    version=version['__version__'],
    description='A library for structure calculations in airplane wings',
    url='https://github.com/akafliegdarmstadt/wingstructure',
    author='Akaflieg Darmstadt',
    author_email='kontakt@akaflieg.tu-darmstadt.de',
    long_description=long_description,
    long_description_content_type="text/markdown",
    license='MIT',
    packages=['wingstructure', 
              'wingstructure.data', 
              'wingstructure.aero',
              'wingstructure.structure'],
    install_requires= [
        'numpy',
        'scipy',
        'pandas',
        'sortedcontainers',
        'matplotlib',
        'pytest',
        'ipython',
        'pandas'
    ],
    extras_require={
        'sectionstructure': ["Shapely"]
    },
    zip_safe=False,
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Topic :: Scientific/Engineering",
    ],
)

make independent from shapely