
Darnit, I wrote the tests first, and I wrote them right, and then I mixed up the ordering in the code, and somehow I convinced myself the code was the right and the tests were wrong. But no, I had the tests right, this is really what we want. This gets the output to follow the examples from our bookkeeping documentation.
21 lines
508 B
Python
Executable file
21 lines
508 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
from setuptools import setup
|
|
|
|
setup(
|
|
name='oxrlib',
|
|
description="Library to query the Open Exchange Rates (OXR) API",
|
|
version='2.2',
|
|
author='Brett Smith',
|
|
author_email='brettcsmith@brettcsmith.org',
|
|
license='GNU AGPLv3+',
|
|
|
|
install_requires=['babel'],
|
|
setup_requires=['pytest-runner'],
|
|
tests_require=['pytest'],
|
|
|
|
packages=['oxrlib', 'oxrlib.commands'],
|
|
entry_points={
|
|
'console_scripts': ['oxrquery = oxrlib.__main__:main'],
|
|
},
|
|
)
|