mirror of
https://github.com/echemdata/galvani.git
synced 2025-12-14 01:15:34 +00:00
Make res2sqlite.py an entry_point rather than a script
This commit is contained in:
5
setup.py
5
setup.py
@@ -8,6 +8,7 @@ setup(
|
||||
description='Open and process battery charger log data files',
|
||||
url='https://github.com/chatcannon/galvani',
|
||||
author='Chris Kerr',
|
||||
author_email='chris.kerr@mykolab.ch',
|
||||
license='GPLv3+',
|
||||
classifiers=[
|
||||
'Development Status :: 3 - Alpha',
|
||||
@@ -16,6 +17,8 @@ setup(
|
||||
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
||||
'Natural Language :: English'],
|
||||
packages=['galvani'],
|
||||
scripts=['scripts/res2sqlite.py'], # TODO make this use entry_points
|
||||
entry_points={'console_scripts': [
|
||||
'res2sqlite = galvani.res2sqlite:main',
|
||||
]},
|
||||
install_requires=['numpy']
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user