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