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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
import sys, os
from setuptools import setup
version = '0.2.0'
setup(
name='pykml',
version=version,
packages=['pykml',],
package_dir={'': 'src'},
package_data={
'pykml': [
'schemas/*.xsd',
'test/*.py',
'test/testfiles/*.kml',
'test/testfiles/google_kml_developers_guide/*.kml',
'test/testfiles/google_kml_tutorial/*.kml',
'test/testfiles/google_kml_reference/*.kml',
],
},
install_requires=[
'lxml>=3.3.6',
],
tests_require=['nose'],
description="Python KML library",
classifiers=[
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Programming Language :: Python',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Multimedia :: Graphics :: Viewers',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='kml',
author='Tyler Erickson',
author_email='tylerickson@gmail.com',
url='http://pypi.python.org/pypi/pykml',
license='BSD',
long_description="""\
=========
pyKML
=========
pyKML is a Python package for parsing and authoring KML documents. It is based
on the lxml.objectify API (http://codespeak.net/lxml/objectify.html) which
provides Pythonic access to XML documents.
.. figure:: http://pykml.googlecode.com/hg/docs/source/logo/pyKML_logo_200x200.png
:scale: 100 %
:alt: pyKML logo
See the Package Documentation for information on installation and usage.
""",
entry_points = {
'console_scripts': [
'kml2pykml = pykml.factory:kml2pykml',
'csv2kml = pykml.util:csv2kml',
'validate_kml = pykml.parser:validate_kml',
],
}
)
|