diff --git a/BioLogic.py b/galvani/BioLogic.py similarity index 100% rename from BioLogic.py rename to galvani/BioLogic.py diff --git a/__init__.py b/galvani/__init__.py similarity index 100% rename from __init__.py rename to galvani/__init__.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..9e2df6a --- /dev/null +++ b/setup.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +from setuptools import setup + +setup( + name='galvani', + version='0.0.1a1', + description='Open and process battery charger log data files', + url='https://github.com/chatcannon/galvani', + author='Chris Kerr', + license='GPLv3+', + classifiers=[ + 'Development Status :: 3 - Alpha', + 'Intended Audience :: Developers', + 'Intended Audience :: Science/Research', + 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', + 'Natural Language :: English'], + packages=['galvani'], + install_requires='numpy' +) diff --git a/tests/test_BioLogic.py b/tests/test_BioLogic.py index 78ce0bc..543a9cf 100644 --- a/tests/test_BioLogic.py +++ b/tests/test_BioLogic.py @@ -8,8 +8,8 @@ import numpy as np from numpy.testing import assert_array_almost_equal, assert_array_equal from nose.tools import ok_, eq_, raises -from .. import MPTfile, MPRfile -from ..BioLogic import MPTfileCSV, str3 # not exported +from galvani import MPTfile, MPRfile +from galvani.BioLogic import MPTfileCSV, str3 # not exported testdata_dir = os.path.join(os.path.dirname(__file__), 'testdata')