forked from scisco/area
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
46 lines (39 loc) · 1.53 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
from codecs import open as codecs_open
from setuptools import setup
# Parse the version from the affine module.
with open('area/__init__.py') as f:
for line in f:
if "__version__" in line:
version = line.split("=")[1].strip()
version = version.strip('"').strip("'")
break
with codecs_open('README.rst', encoding='utf-8') as f:
readme = f.read()
setup(name='area',
version=version,
description="Calculate the area inside of any GeoJSON geometry. This is a port of Mapbox's" +
"geojson-area for Python",
long_description=readme,
keywords='geojson area geometry',
author='Alireza J (Scisco)',
author_email='[email protected]',
url='https://github.com/scisco/area',
license='BSD-2-Clause',
packages=['area'],
include_package_data=True,
zip_safe=False,
test_suite="test",
classifiers=[
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: GIS',
'License :: OSI Approved :: BSD License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)