forked from aaliddell/s2cell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (57 loc) · 2.07 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import pathlib
import re
import setuptools
# Load version
# Cannot import the package at this point, as dependencies are missing
init_file = pathlib.Path(__file__).parent / 's2cell' / '__init__.py'
__version__ = re.search(r"^__version__ = '(.*?)'$", init_file.read_text(), re.MULTILINE).group(1)
# Load readme as long description
with open('README.rst') as file:
long_description = file.read()
setuptools.setup(
name='s2cell',
version=__version__,
author='Adam Liddell',
author_email='[email protected]',
description='Minimal Python S2 Geometry cell ID, token and lat/lon conversion library',
long_description=long_description,
long_description_content_type='text/x-rst',
url='https://docs.s2cell.aliddell.com',
download_url="https://pypi.python.org/pypi/s2cell",
project_urls={
'Documentation': 'https://docs.s2cell.aliddell.com',
'Source Code': 'https://github.com/aaliddell/s2cell',
},
packages=setuptools.find_packages(),
python_requires='>=3.7',
install_requires=[],
extras_require={
'dev': [
'flake8~=4.0',
'furo==2021.11.23',
'nox~=2021.10.1',
'pydocstyle~=6.1.1',
'pylint~=2.12.1',
'pytest~=6.2.5',
'pytest-cov~=3.0.0',
'pytest-instafail~=0.4.2',
'pytest-xdist~=2.2.0',
'Sphinx~=4.3.1',
'sphinx-notfound-page~=0.8',
'sphinx-sitemap==2.2.0',
],
},
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Intended Audience :: Telecommunications Industry',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)