setup.py 1.4 KB
Newer Older
1
# -*- coding: utf-8 -*-
2

3 4 5 6
"""
Setup for building and installing tagmaps package.
"""

7
import sys
8
from setuptools import setup
9

10
with open('README.md') as f:
11 12 13 14 15 16 17 18
    LONG_DESCRIPTION = f.read()

try:
    from semantic_release import setup_hook
    setup_hook(sys.argv)
except ImportError:
    pass

19
VERSION_NUMBER = {}
20
with open("tagmaps/version.py") as fp:
21
    exec(fp.read(), VERSION_NUMBER)  # pylint: disable=W0122
22

23
setup(name="tagmaps",
24
      version=VERSION_NUMBER['__version__'],
25 26 27 28 29
      description="Tag Clustering for Tag Maps",
      long_description=LONG_DESCRIPTION,
      long_description_content_type='text/markdown',
      author='Alexander Dunkel',
      author_email='alexander.dunkel@tu-dresden.de',
30
      url='https://github.com/Sieboldianus/TagMaps',
31 32 33
      license='GNU GPLv3 or any higher',
      packages=['tagmaps'],
      include_package_data=True,
34
      python_requires='>=3.7',  # minimum, due to dataclass
35
      install_requires=[
36 37
          'fiona',
          'shapely',
38
          'pandas>=0.24.2',
39 40 41
          'pyproj>=1.9.6',
          'numpy',
          'matplotlib',
42
          'emoji>=0.5.1',
43
          'cython',
44
          'hdbscan>=0.8.20',
45 46 47 48 49
          'gdal',
          'seaborn',
          'descartes',
          'regex',
          'scipy',
50 51
          'six',
          'joblib',
52 53 54 55 56 57
      ],
      entry_points={
          'console_scripts': [
              'tagmaps = tagmaps.__main__:main'
          ]
      })