remove plpython and python code for now. also removed mistaken installation of postgres_fdw in tests

This commit is contained in:
John Krauss
2017-01-25 16:59:37 +00:00
parent aa807eb65b
commit 5e7bffae6a
11 changed files with 2 additions and 190 deletions

View File

@@ -1,9 +0,0 @@
include ../../Makefile.global
# Install the package locally for development
install:
pip install --upgrade ./observatory
test:
#TODO noop

View File

@@ -1,11 +0,0 @@
from overpass import API
import json
def get_overpass(query):
'''
Return results of a raw overpass query.
'''
api = API()
response = api.Get(query)
return response['features']

View File

@@ -1 +0,0 @@
overpass==0.5.6

View File

@@ -1,50 +0,0 @@
"""
CartoDB Spatial Analysis Python Library
See:
https://github.com/CartoDB/crankshaft
"""
from setuptools import setup, find_packages
setup(
name='observatory',
version='0.0.1',
description='CARTO Observatory Python Library',
url='https://github.com/CartoDB/observatory-extension',
author='Research and Data - CARTO',
author_email='john@carto.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Mapping comunity',
'Topic :: Maps :: Mapping Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
],
keywords='maps mapping tools spatial data',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
extras_require={
'dev': ['unittest'],
'test': ['unittest', 'nose', 'mock'],
},
# The choice of component versions is dictated by what's
# provisioned in the production servers.
# IMPORTANT NOTE: please don't change this line. Instead issue a ticket to systems for evaluation.
install_requires=[],
#install_requires=['overpass==0.5.6'],
requires=[],
#requires=['overpass'],
#test_suite='test'
)