packages = [ 'kotocore', 'kotocore.utils', ] requires = [ 'botocore>=0.24.0', 'six>=1.4.0', 'jmespath>=0.1.0', 'python-dateutil>=2.1', ] setup( name='kotocore', version=kotocore.get_version(), description='Utility for botocore.', long_description=open('README.rst').read(), author='Henry Huang', author_email='*****@*****.**', url='https://github.com/henrysher/kotocore', scripts=[], packages=packages, package_data={ 'kotocore': [ 'data/aws/resources/*.json', ] }, include_package_data=True, install_requires=requires, license=open("LICENSE").read(),
import os import sys from kotocore import get_version # TODO: Assert if this is egg-safe (or if that matters to us)? KOTOCORE_ROOT = os.path.dirname(os.path.dirname(__file__)) USER_AGENT_NAME = 'kotocore' USER_AGENT_VERSION = get_version(full=True) DEFAULT_REGION = 'us-east-1' DEFAULT_DOCSTRING = """ Please make an instance of this class to inspect the docstring. No underlying connection is yet available. """ DEFAULT_DATA_DIR = os.path.join(KOTOCORE_ROOT, 'data', 'aws') DEFAULT_RESOURCE_JSON_DIR = os.path.join(DEFAULT_DATA_DIR, 'resources') class NOTHING_PROVIDED(object): """ An identifier for no data provided. Never meant to be instantiated. """ pass