From fe21f44388218ce77732991ca2c7bce16bd68feb Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Mon, 17 Jul 2023 15:42:42 -0500 Subject: [PATCH] bug fix version --- setup.py | 7 +++++-- transport/__init__.py | 5 +++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 136082a..8e0bc46 100644 --- a/setup.py +++ b/setup.py @@ -4,13 +4,16 @@ This is a build file for the from setuptools import setup, find_packages import os import sys -from transport import __version__ +from transport.version import __version__,__author__ +# __author__ = 'The Phi Technology' +# __version__= '1.8.0' + def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() args = { "name":"data-transport", "version":__version__, - "author":"The Phi Technology LLC","author_email":"info@the-phi.com", + "author":__author__,"author_email":"info@the-phi.com", "license":"MIT", "packages":["transport"]} args["keywords"]=['mongodb','couchdb','rabbitmq','file','read','write','s3','sqlite'] diff --git a/transport/__init__.py b/transport/__init__.py index cb22924..57c3f22 100644 --- a/transport/__init__.py +++ b/transport/__init__.py @@ -20,8 +20,7 @@ The configuration for the data-store is as follows : mongodb provider:'mongodb',[port:27017],[host:localhost],db:,doc:<_name>,context: """ -__author__ = 'The Phi Technology' -__version__= '1.8.0' + import pandas as pd import numpy as np import json @@ -38,6 +37,7 @@ if sys.version_info[0] > 2 : from transport import mongo as mongo from transport import sql as sql from transport import etl as etl + from transport.version import __version__ else: from common import Reader, Writer,Console #, factory import disk @@ -47,6 +47,7 @@ else: import s3 import sql import etl + from version import __version__ import psycopg2 as pg import mysql.connector as my from google.cloud import bigquery as bq