bug fix version
This commit is contained in:
parent
05d990d713
commit
fe21f44388
7
setup.py
7
setup.py
|
@ -4,13 +4,16 @@ This is a build file for the
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
from transport import __version__
|
from transport.version import __version__,__author__
|
||||||
|
# __author__ = 'The Phi Technology'
|
||||||
|
# __version__= '1.8.0'
|
||||||
|
|
||||||
def read(fname):
|
def read(fname):
|
||||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||||
args = {
|
args = {
|
||||||
"name":"data-transport",
|
"name":"data-transport",
|
||||||
"version":__version__,
|
"version":__version__,
|
||||||
"author":"The Phi Technology LLC","author_email":"info@the-phi.com",
|
"author":__author__,"author_email":"info@the-phi.com",
|
||||||
"license":"MIT",
|
"license":"MIT",
|
||||||
"packages":["transport"]}
|
"packages":["transport"]}
|
||||||
args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite']
|
args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite']
|
||||||
|
|
|
@ -20,8 +20,7 @@ The configuration for the data-store is as follows :
|
||||||
mongodb
|
mongodb
|
||||||
provider:'mongodb',[port:27017],[host:localhost],db:<name>,doc:<_name>,context:<read|write>
|
provider:'mongodb',[port:27017],[host:localhost],db:<name>,doc:<_name>,context:<read|write>
|
||||||
"""
|
"""
|
||||||
__author__ = 'The Phi Technology'
|
|
||||||
__version__= '1.8.0'
|
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import json
|
import json
|
||||||
|
@ -38,6 +37,7 @@ if sys.version_info[0] > 2 :
|
||||||
from transport import mongo as mongo
|
from transport import mongo as mongo
|
||||||
from transport import sql as sql
|
from transport import sql as sql
|
||||||
from transport import etl as etl
|
from transport import etl as etl
|
||||||
|
from transport.version import __version__
|
||||||
else:
|
else:
|
||||||
from common import Reader, Writer,Console #, factory
|
from common import Reader, Writer,Console #, factory
|
||||||
import disk
|
import disk
|
||||||
|
@ -47,6 +47,7 @@ else:
|
||||||
import s3
|
import s3
|
||||||
import sql
|
import sql
|
||||||
import etl
|
import etl
|
||||||
|
from version import __version__
|
||||||
import psycopg2 as pg
|
import psycopg2 as pg
|
||||||
import mysql.connector as my
|
import mysql.connector as my
|
||||||
from google.cloud import bigquery as bq
|
from google.cloud import bigquery as bq
|
||||||
|
|
Loading…
Reference in New Issue