Skip to content

Commit cc204af

Browse files
committed
Initial commit
1 parent d4ac5e7 commit cc204af

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

setup.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env python
2+
3+
from distutils.core import setup, Extension
4+
5+
6+
mapcode_module = Extension('mapcode/_mapcode',
7+
sources=['mapcode/mapcode_wrap.c', 'mapcode/mapcode_swig.c'],
8+
include_dirs=['../mapcode-cpp/mapcodelib']
9+
)
10+
11+
setup(
12+
name='mapcode',
13+
version='0.1',
14+
description='A Python module to do mapcode encoding and decoding. See http://www.mapcode.com for more information.',
15+
author='Erik Bos',
16+
author_email='erik@xs4all.nl',
17+
url='https://github.com/mapcode-foundation/mapcode-python',
18+
packages=['mapcode'],
19+
ext_modules=[mapcode_module],
20+
license='Apache License 2.0',
21+
classifiers=[
22+
'Development Status :: 3 - Alpha',
23+
'License :: OSI Approved :: Apache Software License'
24+
],
25+
)

0 commit comments

Comments
 (0)