-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
40 lines (34 loc) · 1.25 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
from setuptools import setup
def get_version():
from pathlib import Path
init_path = Path("rheal/__init__.py")
with init_path.open() as file_:
for line in file_.readlines():
if line.startswith("__version__"):
return line.split('"')[1]
setup(
name="rhealpix-geo",
version=get_version(),
description="Objects for DGGS Cells and collections of Cells.",
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
maintainer="David Habgood",
maintainer_email="david.habgood@surroundaustralia.com",
url="https://github.com/surroundaustralia/rhealpix-geo",
license="BSD",
packages=["rheal"],
platforms=["any"],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: BSD License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
"Natural Language :: English",
],
test_suite="tests",
tests_require=["pytest"],
)