-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (27 loc) · 803 Bytes
/
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
# -*- coding: utf-8 -*-
from distutils.core import setup
from distutils.extension import Extension
from glob import glob
# list extension sources
sources = []
sources.extend(glob("src/*.cc"))
sources.extend(glob("src/*.cpp"))
sources.extend(glob("src/healpix/*.cc"))
# list headers
headers = []
headers.extend(glob("src/*.h"))
headers.extend(glob("src/healpix/*.h"))
setup(
name="geohealpix",
version="1.2.0",
description="Efficient Geohashing using HEALPIX global grid",
long_description=open('README.txt').read(),
author="AmvTek developers",
author_email="devel@amvtek.com",
url="https://github.com/amvtek/GeoHealpix",
licence='LICENSE',
headers=headers,
ext_modules=[Extension('geohealpix', sources, language='c++')],
install_requires=[
]
)