File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 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+ )
You can’t perform that action at this time.
0 commit comments