#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from citygml2stl import __version__


def get_requirements(path='requirements.txt'):
    with open(path) as f:
        packages = f.read().splitlines()
    packages = (p.strip() for p in packages if not p.startswith('#') and not p.startswith('-'))
    packages = list(filter(None, packages))
    return packages + ['poly2tri']


setup(
    name='citygml2stl',
    version=__version__,
    description='CityGML to printable STL',
    long_description=''.join(open('README.rst').readlines()),
    keywords='3D printing, STL, mesh, CityGML',
    author='Miro Hrončok',
    author_email='miro@hroncok.cz',
    license='MIT',
    packages=[p for p in find_packages() if p != 'test'],
    entry_points={'console_scripts': ['citygml2stl=citygml2stl.cli:main']},
    install_requires=get_requirements(),
    dependency_links=[
        'git+https://github.com/hroncok/poly2tri.python.git#egg=poly2tri',
    ],
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'Intended Audience :: Manufacturing',
        'License :: OSI Approved :: MIT License',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Topic :: Scientific/Engineering :: GIS',
    ]
)

@@ -1514,16 +1514,65 @@
 : 3.4',%0A
+        'Programming Language :: Python :: 3.5',%0A
         

Support Python 3.5