setup.py 1.76 KB
Newer Older
1
2
3
#!/usr/bin/env python
# -*- coding: utf-8 -*-

Daniel Scheffler's avatar
Daniel Scheffler committed
4
5
"""The setup script."""

6
from setuptools import setup, find_packages
7
8
9
10
11
12
13

with open('README.rst') as readme_file:
    readme = readme_file.read()

with open('HISTORY.rst') as history_file:
    history = history_file.read()

14
requirements = ['gdal', 'numpy', 'shapely', 'six', 'rasterio', 'geopandas','geoarray']
Daniel Scheffler's avatar
Daniel Scheffler committed
15
setup_requirements = [] # TODO(danschef): put setup requirements (distutils extensions, etc.) here
Daniel Scheffler's avatar
Daniel Scheffler committed
16
test_requirements = requirements + ['coverage']
17
18

setup(
19
    name='py_tools_ds',
20
    version='0.4.0',
21
22
23
24
    description="A collection of Python tools by Daniel Scheffler.",
    long_description=readme + '\n\n' + history,
    author="Daniel Scheffler",
    author_email='daniel.scheffler@gfz-potsdam.de',
25
    url='https://gitext.gfz-potsdam.de/danschef/py_tools_ds',
26
    packages=find_packages(), # searches for packages with an __init__.py and returns them as properly formatted list
27
    package_dir={'py_tools_ds':'py_tools_ds'},
28
29
30
31
    include_package_data=True,
    install_requires=requirements,
    license="GNU General Public License v3",
    zip_safe=False,
32
    keywords='py_tools_ds',
33
    classifiers=[
Daniel Scheffler's avatar
Daniel Scheffler committed
34
        'Development Status :: 4 - Beta',
35
36
37
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
        'Natural Language :: English',
Daniel Scheffler's avatar
Daniel Scheffler committed
38
        "Programming Language :: Python :: 2",
39
        'Programming Language :: Python :: 2.7',
Daniel Scheffler's avatar
Daniel Scheffler committed
40
41
42
43
44
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
45
46
    ],
    test_suite='tests',
Daniel Scheffler's avatar
Daniel Scheffler committed
47
48
    tests_require=test_requirements,
    setup_requires=setup_requirements
49
)