Changed to a standard setuptools package layout

This commit is contained in:
Chris Kerr
2014-11-07 15:42:53 +00:00
parent b7009e8630
commit 7da8b8b5e6
4 changed files with 22 additions and 2 deletions

20
setup.py Normal file
View File

@@ -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'
)

View File

@@ -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')