1
0

Compare commits

..

No commits in common. "ea955a00d79e94901cbd9241a8111bc7a91f51fa" and "9df5d3879233fea56bbe0e147d95a10b8c088066" have entirely different histories.

3 changed files with 2 additions and 9 deletions

View File

@ -2,7 +2,6 @@
<!-- THIS IS AN AUTOGENERATED FILE! -->
<!-- MANUAL CHANGES CAN AND WILL BE OVERWRITTEN! -->
# Finance Definitions
![Test program/library](https://gitfub.space/Jmaa/fin-defs/actions/workflows/python-test.yml/badge.svg) ![Codequality (Ruff)](https://gitfub.space/Jmaa/fin-defs/actions/workflows/python-ruff.yml/badge.svg)
@ -35,12 +34,10 @@ pip install -r requirements.txt
Full list of requirements:
- [enforce-typing](https://pypi.org/project/enforce-typing/)
## Contributing
Feel free to submit pull requests. Please follow the [Code Conventions](CONVENTIONS.md) when doing so.
### Testing
Testing requires the [pytest](https://docs.pytest.org/en/stable/) library.
@ -57,7 +54,6 @@ Test coverage can be run using the [`pytest-cov`](https://pypi.org/project/pytes
pytest --cov=fin_defs test
```
## License
```

View File

@ -1 +1 @@
__version__ = '0.1.54'
__version__ = '0.1.53'

View File

@ -30,7 +30,6 @@ Defined hierarchy:
PACKAGE_DESCRIPTION_SHORT = """
Python library defining base types for financial processing.""".strip()
def parse_version_file(text: str) -> str:
text = re.sub('^#.*', '', text, flags=re.MULTILINE)
match = re.match(r'^\s*__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
@ -39,11 +38,9 @@ def parse_version_file(text: str) -> str:
raise Exception(msg)
return match.group(2)
with open(PACKAGE_NAME + '/_version.py') as f:
version = parse_version_file(f.read())
REQUIREMENTS_MAIN = [
'enforce-typing',
]
@ -51,7 +48,6 @@ REQUIREMENTS_TEST = [
'pytest',
]
setup(
name=PACKAGE_NAME,
version=version,
@ -61,6 +57,7 @@ setup(
author='Jon Michael Aanes',
author_email='jonjmaa@gmail.com',
url='https://gitfub.space/Jmaa/' + PACKAGE_NAME,
packages=[PACKAGE_NAME],
install_requires=REQUIREMENTS_MAIN,
extras_require={
'test': REQUIREMENTS_TEST,