-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·46 lines (41 loc) · 1.44 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
#! /usr/bin/env python
from setuptools import setup, find_packages
from setuptools.dist import Distribution
from os import path
from io import open
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
class BinaryDistribution(Distribution):
def has_ext_modules(self):
return True
setup(
name='osm_pbf_parser',
version='0.1.1',
description='OSM PBF Parser binding of libosmpbf',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/osm-fr/osm_pbf_parser',
author='Frederic Rodrigo',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
keywords='openstreetmap osm pbf parser libosmpbf',
packages=find_packages(),
python_requires='>=2.7, <4',
platform='manylinux1_x86_64',
package_data={
'osm_pbf_parser': ['osm_pbf_parser.so'],
},
project_urls={ # Optional
'Bug Reports': 'https://github.com/osm-fr/osm_pbf_parser/issues',
'Source': 'https://github.com/osm-fr/osm_pbf_parser',
},
include_package_data=True,
distclass=BinaryDistribution,
)